lkml.org 
[lkml]   [2013]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2] perf: add callgrind conversion tool
From
On Wed, Mar 27, 2013 at 12:23 AM, Namhyung Kim <namhyung@kernel.org> wrote:
> Hi Roberto,
>
> On Tue, 26 Mar 2013 12:14:49 -0700, Roberto Vitillo wrote:
>> The proposed patch adds the convert tool to perf which allows to convert a
>> perf.data file to a set of callgrind data files which can subsequently be
>> displayed with kcachegrind.
>>
>> Note that the code may trigger the following bug in libbfd:
>> http://sourceware.org/bugzilla/show_bug.cgi?id=15106
>
> Does it now support call graph too? Great if so!

Yes it does.

> Anyway, I suggest that splitting patch to two - one for addr2line and
> another for actual 'convert' tool.

Ok

> I think we *can* use the tool
> without libbfd (but with external addr2line binary or even with no line
> number information).

Well, I could use the external addr2line binary but the tool will
become terribly slow. A warning message could notify the
user to recompile perf with libbfd to speed up the conversion.


\
 
 \ /
  Last update: 2013-03-27 18:43    [W:0.079 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site