aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2023-05-11 06:27:24 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-05-15 20:51:27 +0000
commit94f0705eee70cb256d21c9abe7ce44ffbe093555 (patch)
tree1879c245fc084ec00f54f74bdef27f0e4eb3ee1b /tools/perf/builtin-annotate.c
parentperf annotate: Handle "decq", "incq", "testq", "tzcnt" instructions on x86 (diff)
downloadkernel-94f0705eee70cb256d21c9abe7ce44ffbe093555.tar.gz
kernel-94f0705eee70cb256d21c9abe7ce44ffbe093555.zip
perf annotate: Parse x86 SIB addressing properly
When the source argument of the "mov" instruction looks like below, it didn't parse the whole operand and just stopped at the first comma. mov (%rbx,%rax,1),%rcx Fix it by checking the parentheses and move it to the closing one. Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions