Messages in this thread | | | Date | Sat, 16 Apr 2011 09:54:15 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH] perf annotate: Add config option for additional objdump arguments |
| |
* Anton Blanchard <anton@samba.org> wrote:
> > We sometimes need to pass arguments to objdump, for example to > specify a particular machine type. In the case below I am profiling > on POWER7 and perf annotate is unable to decode a POWER7 specific > instruction: > > c000000000008ff0: 7f 45 26 98 .long 0x7f452698 > > With the patch below and the following in ~/.perfconfig: > > [objdump] > options = -Mpower7
Hm, could we please detect the required flags automatically and pass them along without forcing people into twiddling their ~/.perfconfig?
I don't mind the options patch either - but please first automate it, *then* add this as a quick fix for similar future problems.
Thanks,
Ingo
| |