File Index
Files and directories
Sign in
FILE

thread_loop_check_tid_2.sh

File preview with syntax highlighting.

linux-6.19.14/tools/perf/tests/shell/coresight/thread_loop_check_tid_2.sh BASH
 1#!/bin/bash -e
 2# CoreSight / Thread Loop 2 Threads - Check TID (exclusive)
 3
 4# SPDX-License-Identifier: GPL-2.0
 5# Carsten Haitzler <carsten.haitzler@arm.com>, 2021
 6
 7TEST="thread_loop"
 8
 9# shellcheck source=../lib/coresight.sh
10. "$(dirname $0)"/../lib/coresight.sh
11
12ARGS="2 20"
13DATV="check-tid-2th"
14# shellcheck disable=SC2153
15DATA="$DATD/perf-$TEST-$DATV.data"
16STDO="$DATD/perf-$TEST-$DATV.stdout"
17
18SHOW_TID=1 perf record -s $PERFRECOPT -o "$DATA" "$BIN" $ARGS > $STDO
19
20perf_dump_aux_tid_verify "$DATA" "$STDO"
21
22err=$?
23exit $err
~/ Read-only file preview.