summaryrefslogtreecommitdiff
path: root/tools/perf/ui/browsers/annotate.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2023-05-11 09:27:24 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2023-05-15 23:51:27 +0300
commit94f0705eee70cb256d21c9abe7ce44ffbe093555 (patch)
tree1879c245fc084ec00f54f74bdef27f0e4eb3ee1b /tools/perf/ui/browsers/annotate.c
parent983034cd0d212b23a63efb48ecc47d55d70ee301 (diff)
downloadlinux-94f0705eee70cb256d21c9abe7ce44ffbe093555.tar.xz
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 <namhyung@kernel.org> Acked-by: Ian Rogers <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20230511062725.514752-2-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui/browsers/annotate.c')
0 files changed, 0 insertions, 0 deletions