Skip to contentSkip to conversation

performance counter for linux question.

DISCUSSION sebastien cabaniols 2 participants 2 messages Sep 17, 2009 – Sep 19, 2009

lore
Share & tools
lore
#0 lore raw

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 ?

Signature · 3 lines
Sébastien Cabaniols
SCI Presales EMEA HP
current timezone = UTC+2 (localtime is approx. 14:20)
#1 lore raw
Quoted 9 lines · sebastien cabaniols

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

Quoted 8 lines

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