From: sebastien cabaniols on
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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Ingo Molnar on

* sebastien cabaniols <sebastien.cabaniols(a)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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/