From: Ingo Molnar on

* T?r?k Edwin <edwintorok(a)gmail.com> wrote:

> On 03/16/2010 10:47 AM, Ingo Molnar wrote:
> > * T??r??k Edwin <edwintorok(a)gmail.com> wrote:
> >
> >> On 03/15/2010 06:23 PM, T??r??k Edwin wrote:
> >>> On 03/15/2010 05:34 PM, T??r??k Edwin wrote:
> >>>> It would be good if perf knew how to lookup symbols in kernel modules!
> >>> BTW perf report -m -k /home/edwin/builds/linux-2.6/vmlinux doesn't show
> >>> the symbols either.
> >> I always forget that, unlike every other program, perf doesn't install
> >> by default to /usr/local!
> >> So I was running the wrong version of perf (from an older kernel), since
> >> perf was installed to $HOME/bin (which of course isn't in sudo's path).
> >>
> >> Sorry for the confusion, the 2.6.33 perf DOES know how to lookup the
> >> symbols:
> >> 9.92% glxgears [radeon] [k]
> >> r600_packet3_check
> >> |
> >> --- r600_packet3_check
> >> |
> >> |--96.80%-- r600_cs_parse
> >
> > Ok, great!
>
> BTW the patch I sent yesterday for tracing 32-bit apps is still needed,
> since that is a kernel patch, and it wasn't due to using the wrong perf.

I've Cc:-ed Frederic for that bug. (Frederic has written a good deal of that
code)

> > I suspect we could install into /usr/local too. Do you want to send a patch
> > for that?
>
> Sent.
>
> BTW I think perf would need some documentation on how to install, and what
> packages you need to build everything, what permissions it needs to run,
> etc.

Agreed. (I've Cc:-ed Arnaldo who has a pending fix in this area.)

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/