Re: perf: h/w counters not counted and no error/info reported to user

From: Ingo Molnar
Date: Fri May 27 2011 - 05:50:45 EST



* David Ahern <dsahern@xxxxxxxxx> wrote:

> By default (tip-perf-core) perf-stat enables a number of H/W counters:
>
> perf stat -- sleep 1

did you mean to do 'perf stat -a sleep 1' ?

'perf stat sleep 1' in itself will only measure that very simple
command - which does not do much.

Thanks,

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