Re: Performance Events hangs with Intel P4 system

Cyrill Gorcunov
2010-05-14T16:28:26Z

On Fri, May 14, 2010 at 09:52:28PM +0530, Jaswinder Singh Rajput wrote:
...
> Yes, this works for me. Now I am not getting general protection fault.
>
> It seems hardware events are not supported for P4 yet.
>
> $ ./perf stat -e
> cycles,instructions,cache-references,cache-misses,branches,branch-misses,bus-cycles
> ls > /dev/null
>
> Performance counter stats for 'ls':
>
> <not counted> cycles
> 601636 instructions # 0.000 IPC (scaled
> from 91.80%)
> <not counted> cache-references
> <not counted> cache-misses
> <not counted> branches
> <not counted> branch-misses
> <not counted> bus-cycles
>
> 0.003364910 seconds time elapsed

Thanks Jaswinder,

it means counters management somehow screwed at moment (it was working before).
I'm working on it.

-- Cyrill