diff options
| author | Namhyung Kim <[email protected]> | 2024-01-17 06:26:49 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2024-01-22 20:08:19 +0000 |
| commit | a3397d69e4e7a1ea37af413ccbdf52dec208ce11 (patch) | |
| tree | e940524317f862ec9d3565438806bfd51ec8aff5 /tools/perf/util/annotate.h | |
| parent | perf build: Check whether pkg-config is installed when libtraceevent is linked (diff) | |
| download | kernel-a3397d69e4e7a1ea37af413ccbdf52dec208ce11.tar.gz kernel-a3397d69e4e7a1ea37af413ccbdf52dec208ce11.zip | |
perf annotate-data: Parse 'lock' prefix from llvm-objdump
For the performance reason, I prefer llvm-objdump over GNU's. But I
found that llvm-objdump puts x86 lock prefix in a separate line like
below.
ffffffff81000695: f0 lock
ffffffff81000696: ff 83 54 0b 00 00 incl 2900(%rbx)
This should be parsed properly, but I just changed to find the insn
with next offset for now.
This improves the statistics as it can process more instructions.
Annotate data type stats:
total 294, ok 144 (49.0%), bad 150 (51.0%)
-----------------------------------------------------------
30 : no_sym
35 : 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
