linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* regarding [PATCH] Add libpfm4 support (v3)
@ 2011-08-08 12:04 Jiri Olsa
  2011-08-08 12:25 ` Peter Zijlstra
  0 siblings, 1 reply; 3+ messages in thread
From: Jiri Olsa @ 2011-08-08 12:04 UTC (permalink / raw)
  To: Ingo Molnar, Frederic Weisbecker, Peter Zijlstra,
	Arnaldo Carvalho de Melo
  Cc: linux-kernel, Arun Sharma

hi,

any chance of getting this included?
http://article.gmane.org/gmane.comp.linux.perfmon2.devel/2912
http://article.gmane.org/gmane.comp.linux.perfmon2.devel/2912/raw

it needs just some little changes to fit to current tip tree

thanks,
jirka

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: regarding [PATCH] Add libpfm4 support (v3)
  2011-08-08 12:04 regarding [PATCH] Add libpfm4 support (v3) Jiri Olsa
@ 2011-08-08 12:25 ` Peter Zijlstra
  2011-08-08 13:03   ` Jiri Olsa
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Zijlstra @ 2011-08-08 12:25 UTC (permalink / raw)
  To: Jiri Olsa
  Cc: Ingo Molnar, Frederic Weisbecker, Arnaldo Carvalho de Melo,
	linux-kernel, Arun Sharma

On Mon, 2011-08-08 at 14:04 +0200, Jiri Olsa wrote:
> hi,
> 
> any chance of getting this included?
> http://article.gmane.org/gmane.comp.linux.perfmon2.devel/2912
> http://article.gmane.org/gmane.comp.linux.perfmon2.devel/2912/raw
> 
> it needs just some little changes to fit to current tip tree

While I don't mind extending the current way to input events I don't
think using libpfm4 for it is desired.

One of the ideas that has been floating about is to provide a format
file in the sysfs representation of the pmu. This format file would
describe the config space. The tool would parse this and use it to
provide better input capabilities.

This is not an easy task however, since the format syntax needs to be
capable enough to describe all the various config muck we need to
support, think for example of the P4 mess.

For Intel/AMD (excluding P4) its mostly simple, with Intel having a
slightly harder time for the offcore bits.

As to the various arch event lists, again that is not something we need
a whole library for, parsing those text files isn't hard. Maintaining
the various arch event lists in a sane format is the 'hard' part and is
something I think we should push to the vendors, because they're
basically the only ones capable.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: regarding [PATCH] Add libpfm4 support (v3)
  2011-08-08 12:25 ` Peter Zijlstra
@ 2011-08-08 13:03   ` Jiri Olsa
  0 siblings, 0 replies; 3+ messages in thread
From: Jiri Olsa @ 2011-08-08 13:03 UTC (permalink / raw)
  To: Peter Zijlstra
  Cc: Ingo Molnar, Frederic Weisbecker, Arnaldo Carvalho de Melo,
	linux-kernel, Arun Sharma

On Mon, Aug 08, 2011 at 02:25:25PM +0200, Peter Zijlstra wrote:
> On Mon, 2011-08-08 at 14:04 +0200, Jiri Olsa wrote:
> > hi,
> > 
> > any chance of getting this included?
> > http://article.gmane.org/gmane.comp.linux.perfmon2.devel/2912
> > http://article.gmane.org/gmane.comp.linux.perfmon2.devel/2912/raw
> > 
> > it needs just some little changes to fit to current tip tree
> 
> While I don't mind extending the current way to input events I don't
> think using libpfm4 for it is desired.
> 
> One of the ideas that has been floating about is to provide a format
> file in the sysfs representation of the pmu. This format file would
> describe the config space. The tool would parse this and use it to
> provide better input capabilities.
> 
> This is not an easy task however, since the format syntax needs to be
> capable enough to describe all the various config muck we need to
> support, think for example of the P4 mess.
> 
> For Intel/AMD (excluding P4) its mostly simple, with Intel having a
> slightly harder time for the offcore bits.
> 
> As to the various arch event lists, again that is not something we need
> a whole library for, parsing those text files isn't hard. Maintaining
> the various arch event lists in a sane format is the 'hard' part and is
> something I think we should push to the vendors, because they're
> basically the only ones capable.
ok, understood

thanks,
jirka

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-08 13:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-08 12:04 regarding [PATCH] Add libpfm4 support (v3) Jiri Olsa
2011-08-08 12:25 ` Peter Zijlstra
2011-08-08 13:03   ` Jiri Olsa

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).