Merge tag 'ceph-for-6.7-rc1' of https://github.com/ceph/ceph-client
[linux-2.6-microblaze.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
9 # shellcheck source=../lib/coresight.sh
10 . "$(dirname $0)"/../lib/coresight.sh
11
12 ARGS="2 20"
13 DATV="check-tid-2th"
14 # shellcheck disable=SC2153
15 DATA="$DATD/perf-$TEST-$DATV.data"
16 STDO="$DATD/perf-$TEST-$DATV.stdout"
17
18 SHOW_TID=1 perf record -s $PERFRECOPT -o "$DATA" "$BIN" $ARGS > $STDO
19
20 perf_dump_aux_tid_verify "$DATA" "$STDO"
21
22 err=$?
23 exit $err