Messages in this thread | | | Date | Fri, 16 Sep 2011 11:27:36 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH 2/3] perf: Support setting the disassembler style |
| |
Em Thu, Sep 15, 2011 at 02:31:41PM -0700, Andi Kleen escreveu: > From: Andi Kleen <ak@linux.intel.com> > > Add -M option to report/annotate to pass directly to objdump. > This allows to use -M intel for intel style disassembler syntax, > which is useful for people who are very used to the Intel syntax.
> linkperf:perf-record[1], linkperf:perf-report[1] > diff --git a/tools/perf/Documentation/perf-report.txt b/tools/perf/Documentation/perf-report.txt > index 04253c0..0407c8c 100644 > --- a/tools/perf/Documentation/perf-report.txt > +++ b/tools/perf/Documentation/perf-report.txt > @@ -134,6 +134,9 @@ OPTIONS > CPUs are specified with -: 0-2. Default is to report samples on all > CPUs. > > +-m:: > +--disassembler-style=:: Set disassembler style for objdump. > +
s/-m/-M/g
And adjusted it to cope with what is in perf/core, namely:
https://github.com/acmel/linux/commit/3e6a2a7f3b9d0e521bb3284573b696d0cbe1952c
<quote> perf annotate: Make output more readable This patch adds two new options to perf annotate: - --no-asm-raw : Do not display raw instruction encodings - --no-source : Do not interleave source code with assembly code
We believe those options make the output of annotate more readable. </>
- Arnaldo
| |