diff options
| author | Namhyung Kim <[email protected]> | 2024-03-19 05:51:04 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-03-21 13:41:28 +0000 |
| commit | 0a41e5d6849b4f705c377d34799485b546764970 (patch) | |
| tree | 552fd21755620a072f46c5c898ce34013f30e2ae /tools/perf/builtin-annotate.c | |
| parent | perf annotate-data: Add get_global_var_type() (diff) | |
| download | kernel-0a41e5d6849b4f705c377d34799485b546764970.tar.gz kernel-0a41e5d6849b4f705c377d34799485b546764970.zip | |
perf annotate-data: Handle global variable access
When updating the instruction states, it also needs to handle global
variable accesses. Same as it does for PC-relative addressing, it can
look up the type by address (if it's defined in the same file), or by
name after finding the symbol by address (for declarations).
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[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-annotate.c')
0 files changed, 0 insertions, 0 deletions
