aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2024-01-16 22:26:51 -0800
committerNamhyung Kim <[email protected]>2024-01-22 12:08:19 -0800
commitd3030191d3a6292408c5cf999ebcc1d10e00e9c2 (patch)
treeb0722a4a99b653e35c08faf71325bf7735c46b22 /tools/perf/scripts/python/exported-sql-viewer.py
parent1cf4df0373eed561f543a9e0e0ac2498384d67a0 (diff)
perf annotate-data: Handle array style accesses
On x86, instructions for array access often looks like below. mov 0x1234(%rax,%rbx,8), %rcx Usually the first register holds the type information and the second one has the index. And the current code only looks up a variable for the first register. But it's possible to be in the other way around so it needs to check the second register if the first one failed. The stat changed like this. Annotate data type stats: total 294, ok 148 (50.3%), bad 146 (49.7%) ----------------------------------------------------------- 30 : no_sym 32 : no_mem_ops 66 : no_var 10 : no_typeinfo 8 : bad_offset Reviewed-by: Ian Rogers <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Masami Hiramatsu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions