Re: Performance Events hangs with Intel P4 system

From: Cyrill Gorcunov
Date: Fri May 14 2010 - 12:28:29 EST


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