Skip to content

Commit d36e5b3

Browse files
Tengda Wunamhyung
authored andcommitted
perf test: Use sqrtloop workload to test bperf event
Replace `brstack` workload with `sqrtloop` workload, because `sqrtloop` workload contains fork(), which is suitable for testing the bperf event inheritance feature. Signed-off-by: Tengda Wu <wutengda@huaweicloud.com> Cc: song@kernel.org Cc: bpf@vger.kernel.org Link: https://lore.kernel.org/r/20241021110201.325617-3-wutengda@huaweicloud.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
1 parent 07dc3a6 commit d36e5b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/perf/tests/shell/stat_bpf_counters.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
set -e
66

7-
workload="perf test -w brstack"
7+
workload="perf test -w sqrtloop"
88

99
# check whether $2 is within +/- 20% of $1
1010
compare_number()

0 commit comments

Comments
 (0)