mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-15 13:14:59 -05:00
perf test: Add cgroup summary test case for 'perf trace'
$ sudo ./perf test -vv 112 112: perf trace summary: --- start --- test child forked, pid 1018940 testing: perf trace -s -- true testing: perf trace -S -- true testing: perf trace -s --summary-mode=thread -- true testing: perf trace -S --summary-mode=total -- true testing: perf trace -as --summary-mode=thread --no-bpf-summary -- true testing: perf trace -as --summary-mode=total --no-bpf-summary -- true testing: perf trace -as --summary-mode=thread --bpf-summary -- true testing: perf trace -as --summary-mode=total --bpf-summary -- true testing: perf trace -aS --summary-mode=total --bpf-summary -- true testing: perf trace -as --summary-mode=cgroup --bpf-summary -- true testing: perf trace -aS --summary-mode=cgroup --bpf-summary -- true ---- end(0) ---- 112: perf trace summary : Ok Reviewed-by: Howard Chu <howardchu95@gmail.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20250522142551.1062417-1-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
committed by
Arnaldo Carvalho de Melo
parent
59df607bf8
commit
dd8633bd09
@@ -62,4 +62,10 @@ test_perf_trace "-as --summary-mode=total --bpf-summary"
|
||||
# summary with normal output for system wide - total summary mode with BPF
|
||||
test_perf_trace "-aS --summary-mode=total --bpf-summary"
|
||||
|
||||
# summary only for system wide - cgroup summary mode with BPF
|
||||
test_perf_trace "-as --summary-mode=cgroup --bpf-summary"
|
||||
|
||||
# summary with normal output for system wide - cgroup summary mode with BPF
|
||||
test_perf_trace "-aS --summary-mode=cgroup --bpf-summary"
|
||||
|
||||
rm -f ${OUTPUT}
|
||||
|
||||
Reference in New Issue
Block a user