diff options
author | Namhyung Kim <namhyung@kernel.org> | 2024-01-16 22:26:50 -0800 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2024-01-22 12:08:19 -0800 |
commit | 1cf4df0373eed561f543a9e0e0ac2498384d67a0 (patch) | |
tree | ad6cba939dc844e4af8e3d54c019612b54e0060b /tools/perf/util/annotate-data.h | |
parent | a3397d69e4e7a1ea37af413ccbdf52dec208ce11 (diff) | |
download | linux-1cf4df0373eed561f543a9e0e0ac2498384d67a0.tar.gz linux-1cf4df0373eed561f543a9e0e0ac2498384d67a0.tar.bz2 linux-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 <irogers@google.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Link: https://lore.kernel.org/r/20240117062657.985479-3-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util/annotate-data.h')
0 files changed, 0 insertions, 0 deletions