Re: [PATCH 6/7] perf tools: Do not need to read symbols for sourceline lookup

From: Arnaldo Carvalho de Melo
Date: Wed Dec 04 2013 - 13:08:26 EST


Em Wed, Dec 04, 2013 at 04:00:18PM +0200, Adrian Hunter escreveu:
> On 03/12/13 22:24, Arnaldo Carvalho de Melo wrote:
> > Em Tue, Dec 03, 2013 at 09:23:09AM +0200, Adrian Hunter escreveu:
> >> When using libbfd to lookup source filename and line number,
> >> libbfd does not need the symbol table. Removing the symbol
> >> table reading, doubles the speed of 'perf script' with the
> >> 'srcline' option.
> >
> > [root@zoo ~]# gdb perf
> > run report -s srcline
> >
> > b00000m
>
> I wasn't able to reproduce this but I noticed the line numbers
> were not found for kernel modules with this patch - so it seems
> some binaries need the symbol information and some don't.
>
> So please disregard this patch, sorry for your trouble.

No problem, disregarding it.

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