diff options
author | Namhyung Kim <namhyung@kernel.org> | 2022-07-25 11:31:21 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-07-25 17:54:23 -0300 |
commit | f9c695a21103bb1665aaa87c7592ac17303fc160 (patch) | |
tree | 90b47c91d0fe5c0badfeea07791e5dec0b5f5bc8 /tools/perf/Documentation/perf-lock.txt | |
parent | perf lock: Add flags field in the lock_stat (diff) | |
download | linux-dev-f9c695a21103bb1665aaa87c7592ac17303fc160.tar.xz linux-dev-f9c695a21103bb1665aaa87c7592ac17303fc160.zip |
perf lock: Add lock aggregation enum
Introduce the aggr_mode variable to prepare a later code change.
The default is LOCK_AGGR_ADDR which aggregates the result for the lock
instances.
When -t/--threads option is given, it'd be set to LOCK_AGGR_TASK. The
LOCK_AGGR_CALLER is for the contention analysis and it'd aggregate the
stat by comparing the callstacks.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Waiman Long <longman@redhat.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20220725183124.368304-3-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation/perf-lock.txt')
0 files changed, 0 insertions, 0 deletions