Re: performance counter for linux question.

From: Ingo Molnar
Date: Sat Sep 19 2009 - 04:01:30 EST



* sebastien cabaniols <sebastien.cabaniols@xxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/