aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate-data.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2024-08-18 21:29:48 +0000
committerArnaldo Carvalho de Melo <[email protected]>2024-08-19 19:32:32 +0000
commit5cc698bad72667cf80097dece6b91efbb4a1a0a7 (patch)
treed5b5e9d04c6c2bf866ba4737cc4fa8d8e9c048d5 /tools/perf/util/annotate-data.c
parentperf record: Fix sample cgroup & namespace tracking (diff)
downloadkernel-5cc698bad72667cf80097dece6b91efbb4a1a0a7.tar.gz
kernel-5cc698bad72667cf80097dece6b91efbb4a1a0a7.zip
perf test: Add cgroup sampling test
Add it to the record.sh shell test to verify if it tracks cgroup information correctly. It records with --all-cgroups option can check if it has PERF_RECORD_CGROUP and the names are not "unknown". $ sudo ./perf test -vv 95 95: perf record tests: --- start --- test child forked, pid 2871922 169c90-169cd0 g test_loop perf does have symbol 'test_loop' Basic --per-thread mode test Basic --per-thread mode test [Success] Register capture test Register capture test [Success] Basic --system-wide mode test Basic --system-wide mode test [Success] Basic target workload test Basic target workload test [Success] Branch counter test branch counter feature not supported on all core PMUs (/sys/bus/event_source/devices/cpu) [Skipped] Cgroup sampling test Cgroup sampling test [Success] ---- end(0) ---- 95: perf record tests : Ok Reviewed-by: Ian Rogers <[email protected]> Signed-off-by: Namhyung Kim <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate-data.c')
0 files changed, 0 insertions, 0 deletions