Re: [PATCH v2] perf: add callgrind conversion tool

2013-03-28 Thread Roberto Vitillo
On Thu, Mar 28, 2013 at 9:18 PM, Namhyung Kim wrote: > On Thu, Mar 28, 2013 at 04:58:30PM -0700, Sukadev Bhattiprolu wrote: >> Roberto Vitillo [raviti...@lbl.gov] wrote: >> | The proposed patch adds the convert tool to perf which allows to convert a >> | perf.data file to a set of callgrind data

Re: [PATCH v2] perf: add callgrind conversion tool

2013-03-28 Thread Namhyung Kim
On Thu, Mar 28, 2013 at 04:58:30PM -0700, Sukadev Bhattiprolu wrote: > Roberto Vitillo [raviti...@lbl.gov] 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

Re: [PATCH v2] perf: add callgrind conversion tool

2013-03-28 Thread Sukadev Bhattiprolu
Roberto Vitillo [raviti...@lbl.gov] 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. Sounds interesting and useful. My only comment is that 'convert' is a

Re: [PATCH v2] perf: add callgrind conversion tool

2013-03-28 Thread Sukadev Bhattiprolu
Roberto Vitillo [raviti...@lbl.gov] 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. Sounds interesting and useful. My only comment is that 'convert' is a

Re: [PATCH v2] perf: add callgrind conversion tool

2013-03-28 Thread Namhyung Kim
On Thu, Mar 28, 2013 at 04:58:30PM -0700, Sukadev Bhattiprolu wrote: Roberto Vitillo [raviti...@lbl.gov] 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.

Re: [PATCH v2] perf: add callgrind conversion tool

2013-03-28 Thread Roberto Vitillo
On Thu, Mar 28, 2013 at 9:18 PM, Namhyung Kim namhy...@kernel.org wrote: On Thu, Mar 28, 2013 at 04:58:30PM -0700, Sukadev Bhattiprolu wrote: Roberto Vitillo [raviti...@lbl.gov] wrote: | The proposed patch adds the convert tool to perf which allows to convert a | perf.data file to a set of

Re: [PATCH v2] perf: add callgrind conversion tool

2013-03-27 Thread Viktor Ostashevskyi
Hi Roberto, Roberto Vitillo lbl.gov> writes: > 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. Incredible job! Absence of this feature forced me to write my own

Re: [PATCH v2] perf: add callgrind conversion tool

2013-03-27 Thread Roberto Vitillo
On Wed, Mar 27, 2013 at 12:23 AM, Namhyung Kim 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 >>

Re: [PATCH v2] perf: add callgrind conversion tool

2013-03-27 Thread Peter Zijlstra
This sort of reminds me of another little proglet I have lying about that might need a home.. --- /* * Library to hook into code compiled with -finstrument-functions it will * record function arcs (call_fn, this_fn) as well as the sum of whatever event * is being measured over that function.

Re: [PATCH v2] perf: add callgrind conversion tool

2013-03-27 Thread Namhyung Kim
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

Re: [PATCH v2] perf: add callgrind conversion tool

2013-03-27 Thread Namhyung Kim
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

Re: [PATCH v2] perf: add callgrind conversion tool

2013-03-27 Thread Peter Zijlstra
This sort of reminds me of another little proglet I have lying about that might need a home.. --- /* * Library to hook into code compiled with -finstrument-functions it will * record function arcs (call_fn, this_fn) as well as the sum of whatever event * is being measured over that function.

Re: [PATCH v2] perf: add callgrind conversion tool

2013-03-27 Thread Roberto Vitillo
On Wed, Mar 27, 2013 at 12:23 AM, Namhyung Kim namhy...@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

Re: [PATCH v2] perf: add callgrind conversion tool

2013-03-27 Thread Viktor Ostashevskyi
Hi Roberto, Roberto Vitillo ravitillo at lbl.gov writes: 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. Incredible job! Absence of this feature forced me to

[PATCH v2] perf: add callgrind conversion tool

2013-03-26 Thread Roberto Vitillo
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

[PATCH v2] perf: add callgrind conversion tool

2013-03-26 Thread Roberto Vitillo
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