* Re: Chronogram with pref ?
[not found] <1358934288.36342.YahooMailNeo@web171503.mail.ir2.yahoo.com>
@ 2013-01-23 9:49 ` dark_footix
2013-01-23 13:17 ` Milian Wolff
0 siblings, 1 reply; 3+ messages in thread
From: dark_footix @ 2013-01-23 9:49 UTC (permalink / raw)
To: linux-perf-users@vger.kernel.org
Hello All,
Is there some workshop about timestamping the enter / exit of all the functions ?
Is it possible to have the info of timestamp on the enter / exit of each function with the backtrace info, and the sub-functions called ? and the thread id .
If I am interested to start a development of an graphic interface to visual the result,
do you have some result of log which one I could parse ? which could be the formalism of the result ?
What is the best way to develop this kind of feature ?
Does it already exist ?
You are welcome !
Regards,
Frédéric
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Chronogram with pref ?
2013-01-23 9:49 ` Chronogram with pref ? dark_footix
@ 2013-01-23 13:17 ` Milian Wolff
2013-01-24 7:39 ` Namhyung Kim
0 siblings, 1 reply; 3+ messages in thread
From: Milian Wolff @ 2013-01-23 13:17 UTC (permalink / raw)
To: linux-perf-users@vger.kernel.org
[-- Attachment #1: Type: text/plain, Size: 1223 bytes --]
On Wednesday 23 January 2013 09:49:16 dark_footix wrote:
> Hello All,
>
>
> Is there some workshop about timestamping the enter / exit of all the
> functions ?
Perf is sampling based, so you won't get *all* enter/exit functions - see e.g.
http://en.wikipedia.org/wiki/Profiling_%28computer_programming%29#Statistical_profilers
> Is it possible to have the info of timestamp on the enter / exit of each
> function with the backtrace info, and the sub-functions called ? and the
> thread id .
Recording that should be possible with "perf record -g -s -T" I think.
> If I am interested to start a development of an graphic interface to visual
> the result, do you have some result of log which one I could parse ? which
> could be the formalism of the result ?
>
> What is the best way to develop this kind of feature ?
> Does it already exist ?
I think what we need is a proper public perf library to parse its generated
data. That would then allow one to integrate Perf into KCacheGrind or similar
which would give one a really nice GUI. Though a timeline GUI similar to what
VTune offers would be very interesting as well. Afaik it does not exist yet.
Cheers
--
Milian Wolff
mail@milianw.de
http://milianw.de
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Chronogram with pref ?
2013-01-23 13:17 ` Milian Wolff
@ 2013-01-24 7:39 ` Namhyung Kim
0 siblings, 0 replies; 3+ messages in thread
From: Namhyung Kim @ 2013-01-24 7:39 UTC (permalink / raw)
To: Milian Wolff; +Cc: linux-perf-users@vger.kernel.org
On Wed, 23 Jan 2013 14:17:03 +0100, Milian Wolff wrote:
> On Wednesday 23 January 2013 09:49:16 dark_footix wrote:
>> If I am interested to start a development of an graphic interface to visual
>> the result, do you have some result of log which one I could parse ? which
>> could be the formalism of the result ?
>>
>> What is the best way to develop this kind of feature ?
>> Does it already exist ?
>
> I think what we need is a proper public perf library to parse its generated
> data. That would then allow one to integrate Perf into KCacheGrind or similar
> which would give one a really nice GUI. Though a timeline GUI similar to what
> VTune offers would be very interesting as well. Afaik it does not exist yet.
There's a gtk+ GUI support in the mainline perf tools. You can improve
it as you wish. ;-)
Thanks,
Namhyung
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-24 7:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1358934288.36342.YahooMailNeo@web171503.mail.ir2.yahoo.com>
2013-01-23 9:49 ` Chronogram with pref ? dark_footix
2013-01-23 13:17 ` Milian Wolff
2013-01-24 7:39 ` Namhyung Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox