lkml.org 
[lkml]   [2011]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2011-04-16 09:57    [W:0.042 / U:0.856 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site