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
m...@milianw.de
http://milianw.de

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to