diff options
author | Namhyung Kim <[email protected]> | 2024-03-18 22:51:05 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-03-21 10:41:29 -0300 |
commit | cffb7910afbdf73ca5b2fdf8a617584a7dcecf14 (patch) | |
tree | e54693e5220a8d3de1872aa3c538e4ba3d8b8d3e /tools/perf/scripts/python/stat-cpi.py | |
parent | 0a41e5d6849b4f705c377d34799485b546764970 (diff) |
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/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions