diff options
| author | Namhyung Kim <[email protected]> | 2022-07-29 20:07:56 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-08-01 12:28:51 +0000 |
| commit | 6fda2405f414b24a6d4fc74f2b1ab24b7fe00d14 (patch) | |
| tree | 11506bea5fe13fbbcd2dac6f0a12b70d969a0a43 /tools/perf/util/llvm-utils.c | |
| parent | perf lock: Use BPF for lock contention analysis (diff) | |
| download | kernel-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
