aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2024-01-17 06:26:50 +0000
committerNamhyung Kim <[email protected]>2024-01-22 20:08:19 +0000
commit1cf4df0373eed561f543a9e0e0ac2498384d67a0 (patch)
treead6cba939dc844e4af8e3d54c019612b54e0060b /tools/perf/util/annotate.h
parentperf annotate-data: Parse 'lock' prefix from llvm-objdump (diff)
downloadkernel-1cf4df0373eed561f543a9e0e0ac2498384d67a0.tar.gz
kernel-1cf4df0373eed561f543a9e0e0ac2498384d67a0.zip
perf annotate-data: Handle macro fusion on x86
When a sample was come from a conditional branch without a memory operand, it could be due to a macro fusion with a previous instruction. So it needs to check the memory operand in the previous one. This improves the stat like below: Annotate data type stats: total 294, ok 147 (50.0%), bad 147 (50.0%) ----------------------------------------------------------- 30 : no_sym 32 : no_mem_ops 71 : no_var 6 : 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/util/annotate.h')
0 files changed, 0 insertions, 0 deletions