aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorFernand Sieber <sieberf@amazon.com>2024-06-14 09:35:17 +0200
committerNamhyung Kim <namhyung@kernel.org>2024-06-15 21:03:50 -0700
commit231295a186b60e779152ee88a2647a392307431a (patch)
treeb25e85dd0c4224b5dc73a7157c2b7e7c52c67dd2 /tools/perf/builtin-annotate.c
parent65b37df8c61ceea863ac0ac188fe3464c2ee3ac0 (diff)
downloadlinux-231295a186b60e779152ee88a2647a392307431a.tar.gz
linux-231295a186b60e779152ee88a2647a392307431a.tar.bz2
linux-231295a186b60e779152ee88a2647a392307431a.zip
perf: sched map skips redundant lines with cpu filters
perf sched map supports cpu filter. However, even with cpu filters active, any context switch currently corresponds to a separate line. As result, context switches on irrelevant cpus result to redundant lines, which makes the output particlularly difficult to read on wide architectures. Fix it by skipping printing for irrelevant CPUs. Example snippet of output before fix: *B0 1.461147 secs B0 B0 B0 *G0 1.517139 secs After fix: *B0 1.461147 secs *G0 1.517139 secs Signed-off-by: Fernand Sieber <sieberf@amazon.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Reviewed-and-tested-by: Madadi Vineeth Reddy <vineethr@linux.ibm.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20240614073517.94974-1-sieberf@amazon.com
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions