OSDN Git Service

Merge tag 'perf-urgent-2023-09-10' of git://git.kernel.org/pub/scm/linux/kernel/git...
[tomoyo/tomoyo-test1.git] / tools / perf / tests / shell / coresight / thread_loop_check_tid_10.sh
1 #!/bin/sh -e
2 # CoreSight / Thread Loop 10 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="10 1"
10 DATV="check-tid-10th"
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