diff options
| author | Namhyung Kim <[email protected]> | 2024-03-19 05:51:05 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-03-21 13:41:29 +0000 |
| commit | cffb7910afbdf73ca5b2fdf8a617584a7dcecf14 (patch) | |
| tree | e54693e5220a8d3de1872aa3c538e4ba3d8b8d3e /tools/perf/builtin-annotate.c | |
| parent | perf annotate-data: Handle global variable access (diff) | |
| download | kernel-cffb7910afbdf73ca5b2fdf8a617584a7dcecf14.tar.gz kernel-cffb7910afbdf73ca5b2fdf8a617584a7dcecf14.zip | |
perf annotate-data: Handle call instructions
When updating instruction states, the call instruction should play a
role since it changes the register states. For simplicity, mark some
registers as caller-saved registers (should be arch-dependent), and
invalidate them all after a function call.
If the function returns something, the designated register (ret_reg)
will have the type info.
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
