Performance Events hangs with Intel P4 system

From: Jaswinder Singh Rajput
Date: Thu May 13 2010 - 18:18:05 EST


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.
--
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/