* Reusable data analysis/parser library?
@ 2012-12-27 14:42 Milian Wolff
2013-07-21 21:57 ` Milian Wolff
0 siblings, 1 reply; 4+ messages in thread
From: Milian Wolff @ 2012-12-27 14:42 UTC (permalink / raw)
To: linux-perf-users
[-- Attachment #1: Type: text/plain, Size: 629 bytes --]
Hey there,
I found [1] and [2] but not a reusable shared library which one could use to
write custom analyzers for perf.data files. Are you still working on this or
should one rather stick to parsing the output of "perf script"?
As a start I would like to integrate a parser into KCacheGrind to seamlessly
open perf.data files with it.
Thanks
[1]: https://openlab-mu-internal.web.cern.ch/openlab-mu-
internal/03_Documents/3_Technical_Documents/Technical_Reports/2011/Urs_Fassler_report.pdf
[2]:
http://article.gmane.org/gmane.linux.kernel.perf.user/974/match=kcachegrind
--
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] 4+ messages in thread
* Re: Reusable data analysis/parser library?
2012-12-27 14:42 Reusable data analysis/parser library? Milian Wolff
@ 2013-07-21 21:57 ` Milian Wolff
2013-07-22 8:33 ` Jiri Olsa
0 siblings, 1 reply; 4+ messages in thread
From: Milian Wolff @ 2013-07-21 21:57 UTC (permalink / raw)
To: linux-perf-users
[-- Attachment #1: Type: text/plain, Size: 1011 bytes --]
On Thursday 27 December 2012 15:42:32 Milian Wolff wrote:
> Hey there,
>
> I found [1] and [2] but not a reusable shared library which one could use to
> write custom analyzers for perf.data files. Are you still working on this
> or should one rather stick to parsing the output of "perf script"?
>
> As a start I would like to integrate a parser into KCacheGrind to seamlessly
> open perf.data files with it.
>
> Thanks
>
> [1]: https://openlab-mu-internal.web.cern.ch/openlab-mu-> internal/03_Documents/3_Technical_Documents/Technical_Reports/2011/Urs_Fassl
> er_report.pdf [2]:
> http://article.gmane.org/gmane.linux.kernel.perf.user/974/match=kcachegrind
Ping, is there anything available which I can use to write a perf.data parser
for KCacheGrind? This would be highly benefitial for many people using perf.
Otherwise, is there at least a solid documentation of the binary format which
I might then use to write a custom external library?
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] 4+ messages in thread
* Re: Reusable data analysis/parser library?
2013-07-21 21:57 ` Milian Wolff
@ 2013-07-22 8:33 ` Jiri Olsa
2013-07-22 17:33 ` Milian Wolff
0 siblings, 1 reply; 4+ messages in thread
From: Jiri Olsa @ 2013-07-22 8:33 UTC (permalink / raw)
To: Milian Wolff; +Cc: linux-perf-users, Andi Kleen
On Sun, Jul 21, 2013 at 11:57:26PM +0200, Milian Wolff wrote:
> On Thursday 27 December 2012 15:42:32 Milian Wolff wrote:
> > Hey there,
> >
> > I found [1] and [2] but not a reusable shared library which one could use to
> > write custom analyzers for perf.data files. Are you still working on this
> > or should one rather stick to parsing the output of "perf script"?
> >
> > As a start I would like to integrate a parser into KCacheGrind to seamlessly
> > open perf.data files with it.
> >
> > Thanks
> >
> > [1]: https://openlab-mu-internal.web.cern.ch/openlab-mu-> internal/03_Documents/3_Technical_Documents/Technical_Reports/2011/Urs_Fassl
> > er_report.pdf [2]:
> > http://article.gmane.org/gmane.linux.kernel.perf.user/974/match=kcachegrind
>
> Ping, is there anything available which I can use to write a perf.data parser
> for KCacheGrind? This would be highly benefitial for many people using perf.
>
> Otherwise, is there at least a solid documentation of the binary format which
> I might then use to write a custom external library?
hi,
I'm currently doing some reorg in this part:
http://marc.info/?l=linux-kernel&m=137408381902423&w=2
I'll check and see if we could isolate the parser somehow.
Above patchset contains some doc of the perf.data format:
http://marc.info/?l=linux-kernel&m=137408345402297&w=2
Also Andi sent out following python parser, but I did not
get to it so far:
http://marc.info/?l=linux-kernel&m=137424881921089&w=2
jirka
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Reusable data analysis/parser library?
2013-07-22 8:33 ` Jiri Olsa
@ 2013-07-22 17:33 ` Milian Wolff
0 siblings, 0 replies; 4+ messages in thread
From: Milian Wolff @ 2013-07-22 17:33 UTC (permalink / raw)
To: Jiri Olsa; +Cc: linux-perf-users, Andi Kleen
On Monday 22 July 2013 10:33:11 Jiri Olsa wrote:
> On Sun, Jul 21, 2013 at 11:57:26PM +0200, Milian Wolff wrote:
> > On Thursday 27 December 2012 15:42:32 Milian Wolff wrote:
> > > Hey there,
> > >
> > > I found [1] and [2] but not a reusable shared library which one could
> > > use to write custom analyzers for perf.data files. Are you still
> > > working on this or should one rather stick to parsing the output of
> > > "perf script"?
> > >
> > > As a start I would like to integrate a parser into KCacheGrind to
> > > seamlessly open perf.data files with it.
> > >
> > > Thanks
> > >
> > > [1]: https://openlab-mu-internal.web.cern.ch/openlab-mu->
> > > internal/03_Documents/3_Technical_Documents/Technical_Reports/2011/Urs_
> > > Fassl er_report.pdf [2]:
> > > http://article.gmane.org/gmane.linux.kernel.perf.user/974/match=kcachegr
> > > ind
> >
> > Ping, is there anything available which I can use to write a perf.data
> > parser for KCacheGrind? This would be highly benefitial for many people
> > using perf.
> >
> > Otherwise, is there at least a solid documentation of the binary format
> > which I might then use to write a custom external library?
>
> hi,
> I'm currently doing some reorg in this part:
> http://marc.info/?l=linux-kernel&m=137408381902423&w=2
> I'll check and see if we could isolate the parser somehow.
This would be highly appreciated! Please keep me in touch when you decide
anything in that regard.
> Above patchset contains some doc of the perf.data format:
> http://marc.info/?l=linux-kernel&m=137408345402297&w=2
Ah, very interesting. Thank you! I'll try to look into it a bit.
> Also Andi sent out following python parser, but I did not
> get to it so far:
> http://marc.info/?l=linux-kernel&m=137424881921089&w=2
Thanks!
--
Milian Wolff
mail@milianw.de
http://milianw.de
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-07-22 17:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-27 14:42 Reusable data analysis/parser library? Milian Wolff
2013-07-21 21:57 ` Milian Wolff
2013-07-22 8:33 ` Jiri Olsa
2013-07-22 17:33 ` Milian Wolff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).