aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2024-03-19 05:51:03 +0000
committerArnaldo Carvalho de Melo <[email protected]>2024-03-21 13:41:28 +0000
commit1ebb5e17ef21b492ee60654d4e22cbfb3763661f (patch)
tree5a28fb9c6f5ecdab00c96b5655f11bed3b69cb73 /tools/perf/builtin-annotate.c
parentperf annotate-data: Add update_insn_state() (diff)
downloadkernel-1ebb5e17ef21b492ee60654d4e22cbfb3763661f.tar.gz
kernel-1ebb5e17ef21b492ee60654d4e22cbfb3763661f.zip
perf annotate-data: Add get_global_var_type()
Accessing global variable is common when it tracks execution later. Factor out the common code into a function for later use. It adds thread and cpumode to struct data_loc_info to find (global) symbols if needed. Also remove var_name as it's retrieved in the helper function. 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