diff options
author | Namhyung Kim <[email protected]> | 2024-03-18 22:51:02 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-03-21 10:41:28 -0300 |
commit | 4f903455befa257c50422a4570c4dca0020a1fc8 (patch) | |
tree | 3f18fd28eb88028e918440d4b98f6a2ea2e1e353 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace | |
parent | 06b2ce75386df04b7aea53818ed3c42ee50ec426 (diff) |
perf annotate-data: Add update_insn_state()
The update_insn_state() function is to update the type state table after
processing each instruction. For now, it handles MOV (on x86) insn
to transfer type info from the source location to the target.
The location can be a register or a stack slot. Check carefully when
memory reference happens and fetch the type correctly. It basically
ignores write to a memory since it doesn't change the type info. One
exception is writes to (new) stack slots for register spilling.
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/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions