diff options
| author | Namhyung Kim <[email protected]> | 2024-03-19 05:51:01 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-03-21 13:41:28 +0000 |
| commit | 06b2ce75386df04b7aea53818ed3c42ee50ec426 (patch) | |
| tree | 48bbaf194881c00f588c4178844ecc016fff3c38 /tools/perf/util/annotate-data.h | |
| parent | perf annotate-data: Add debug messages (diff) | |
| download | kernel-06b2ce75386df04b7aea53818ed3c42ee50ec426.tar.gz kernel-06b2ce75386df04b7aea53818ed3c42ee50ec426.zip | |
perf annotate-data: Maintain variable type info
As it collected basic block and variable information in each scope, it
now can build a state table to find matching variable at the location.
The struct type_state is to keep the type info saved in each register
and stack slot. The update_var_state() updates the table when it finds
variables in the current address. It expects die_collect_vars() filled
a list of variables with type info and starting address.
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/util/annotate-data.h')
0 files changed, 0 insertions, 0 deletions
