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>
This commit is contained in:
Tengda Wu
2024-10-21 11:02:01 +00:00
committed by Namhyung Kim
parent 07dc3a6de3
commit d36e5b36a2

View File

@@ -4,7 +4,7 @@
set -e
workload="perf test -w brstack"
workload="perf test -w sqrtloop"
# check whether $2 is within +/- 20% of $1
compare_number()