public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* performance counter for linux question.
@ 2009-09-17 12:28 sebastien cabaniols
  2009-09-19  8:01 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: sebastien cabaniols @ 2009-09-17 12:28 UTC (permalink / raw)
  To: linux-kernel

Hello list,

I am interested by monitoring instructions versus cycles with a Nehalem box 
using 2.6.31 with PCL.

Is there a way with perf report to display both counters ?

I used

perf record -e cycles -e instructions -a  for the recording session.

perf report -n seems to be doing what I need but for only one counter.

Is this a limitation of perf report ? 
Is this an architectural limitation of PCL ?
Is there more documentation than what is in the perf directory in the 2.6.31 
tarball ?


-- 
Sébastien Cabaniols
SCI Presales EMEA HP
current timezone = UTC+2 (localtime is approx. 14:20)

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

* Re: performance counter for linux question.
  2009-09-17 12:28 performance counter for linux question sebastien cabaniols
@ 2009-09-19  8:01 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2009-09-19  8:01 UTC (permalink / raw)
  To: sebastien cabaniols; +Cc: linux-kernel, Peter Zijlstra


* sebastien cabaniols <sebastien.cabaniols@hp.com> wrote:

> Hello list,
> 
> I am interested by monitoring instructions versus cycles with a Nehalem box 
> using 2.6.31 with PCL.
> 
> Is there a way with perf report to display both counters ?
> 
> I used
> 
> perf record -e cycles -e instructions -a  for the recording session.
> 
> perf report -n seems to be doing what I need but for only one counter.
> 
> Is this a limitation of perf report ? 
> Is this an architectural limitation of PCL ?
> Is there more documentation than what is in the perf directory in the 2.6.31 
> tarball ?

You can find a description and a tutorial here:

  http://lwn.net/Articles/339361/

There's also http://perf.wiki.kernel.org.

	Ingo

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

end of thread, other threads:[~2009-09-19  8:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-17 12:28 performance counter for linux question sebastien cabaniols
2009-09-19  8:01 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox