Skip to content

Commit b76692f

Browse files
carstenhaitzleracmel
authored andcommitted
perf test coresight: Add memcpy thread test shell script
Add a script to drive the threaded memcpy test that gathers data so it passes a minimum bar for amount and quality of content that we extract from the kernel's perf support. Reviewed-by: James Clark <[email protected]> Signed-off-by: Carsten Haitzler <[email protected]> Cc: Leo Yan <[email protected]> Cc: Mathieu Poirier <[email protected]> Cc: Mike Leach <[email protected]> Cc: Suzuki Poulouse <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent f1288bd commit b76692f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/sh -e
2+
# CoreSight / Memcpy 16k 10 Threads
3+
4+
# SPDX-License-Identifier: GPL-2.0
5+
# Carsten Haitzler <[email protected]>, 2021
6+
7+
TEST="memcpy_thread"
8+
. $(dirname $0)/../lib/coresight.sh
9+
ARGS="16 10 1"
10+
DATV="16k_10"
11+
DATA="$DATD/perf-$TEST-$DATV.data"
12+
13+
perf record $PERFRECOPT -o "$DATA" "$BIN" $ARGS
14+
15+
perf_dump_aux_verify "$DATA" 10 10 10
16+
17+
err=$?
18+
exit $err

0 commit comments

Comments
 (0)