aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/llvm-utils.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2022-07-29 20:07:56 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-08-01 12:28:51 +0000
commit6fda2405f414b24a6d4fc74f2b1ab24b7fe00d14 (patch)
tree11506bea5fe13fbbcd2dac6f0a12b70d969a0a43 /tools/perf/util/llvm-utils.c
parentperf lock: Use BPF for lock contention analysis (diff)
downloadkernel-6fda2405f414b24a6d4fc74f2b1ab24b7fe00d14.tar.gz
kernel-6fda2405f414b24a6d4fc74f2b1ab24b7fe00d14.zip
perf lock: Implement cpu and task filters for BPF
Add -a/--all-cpus and -C/--cpu options for cpu filtering. Also -p/--pid and --tid options are added for task filtering. The short -t option is taken for --threads already. Tracking the command line workload is possible as well. $ sudo perf lock contention -a -b sleep 1 Signed-off-by: Namhyung Kim <[email protected]> Cc: Blake Jones <[email protected]> Cc: Boqun Feng <[email protected]> Cc: Davidlohr Bueso <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Waiman Long <[email protected]> Cc: Will Deacon <[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/llvm-utils.c')
0 files changed, 0 insertions, 0 deletions