diff options
| author | Namhyung Kim <[email protected]> | 2023-02-03 02:13:22 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-02-03 20:12:26 +0000 |
| commit | 492fef218a6606c53bbb979a65b8f827c5ea02ce (patch) | |
| tree | 59a84f8ba0a133eb153a812ecd95d9c19a83fc96 /tools/perf/builtin-script.c | |
| parent | perf arm-spe: Add raw decoding for SPEv1.2 previous branch address (diff) | |
| download | kernel-492fef218a6606c53bbb979a65b8f827c5ea02ce.tar.gz kernel-492fef218a6606c53bbb979a65b8f827c5ea02ce.zip | |
perf lock contention: Factor out lock_contention_get_name()
The lock_contention_get_name() returns a name for the lock stat entry
based on the current aggregation mode. As it's called sequentially in a
single thread, it can return the address of a static buffer for symbol
and offset of the caller.
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Hao Luo <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Juri Lelli <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Song Liu <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
