OSDN Git Service

perf/x86/uncore: Correct the number of CHAs on EMR
[tomoyo/tomoyo-test1.git] / tools / perf / tests / shell / coresight / thread_loop_check_tid_2.sh
1 #!/bin/sh -e
2 # CoreSight / Thread Loop 2 Threads - Check TID
3
4 # SPDX-License-Identifier: GPL-2.0
5 # Carsten Haitzler <carsten.haitzler@arm.com>, 2021
6
7 TEST="thread_loop"
8 . $(dirname $0)/../lib/coresight.sh
9 ARGS="2 20"
10 DATV="check-tid-2th"
11 DATA="$DATD/perf-$TEST-$DATV.data"
12 STDO="$DATD/perf-$TEST-$DATV.stdout"
13
14 SHOW_TID=1 perf record -s $PERFRECOPT -o "$DATA" "$BIN" $ARGS > $STDO
15
16 perf_dump_aux_tid_verify "$DATA" "$STDO"
17
18 err=$?
19 exit $err