Performance Events hangs with Intel P4 system

Jaswinder Singh Rajput
2010-05-13T22:18:00Z

Hello,

I am testing Performance Events on P4 with HT:

[ 0.002243] Performance Events: Netburst events, Netburst P4/Xeon PMU driver.
[ 0.002432] ... version: 0
[ 0.002545] ... bit width: 40
[ 0.002659] ... generic registers: 18
[ 0.002772] ... value mask: 000000ffffffffff
[ 0.002887] ... max period: 0000007fffffffff
[ 0.003004] ... fixed-purpose events: 0
[ 0.003118] ... event mask: 000000000003ffff

dmesg : http://userweb.kernel.org/~jaswinder/P4_HT/dmesg-2634-rc7-tip.txt
config : http://userweb.kernel.org/~jaswinder/P4_HT/config-2634-rc7-tip.txt

[jaswinder@ht perf]$ ./perf stat -e cycles ls > /dev/null

Performance counter stats for 'ls':

<not counted> cycles

0.003447053 seconds time elapsed

[jaswinder@ht perf]$ ./perf stat -e cycles,instructions ls > /dev/null

Performance counter stats for 'ls':

<not counted> cycles
1862188 instructions # 0.000 IPC (scaled
from 54.91%)

0.003419230 seconds time elapsed

[jaswinder@ht perf]$ ./perf stat -e
cycles,instructions,cache-references ls > /dev/null

<<this dumps on screen and hangs the systems>>

How can I fix this problem.

Thanks,
--
Jaswinder Singh.