Re: perf: counter and event question

From: Peter Zijlstra
Date: Mon Dec 28 2009 - 06:26:56 EST


On Mon, 2009-12-28 at 12:16 +0100, Tim Blechmann wrote:
> like it is impossible to sample instructions with a period of 1?

Pretty much, imagine the cpu getting a trap every cycle.

In order to avoid the machine grinding to a halt, we've implemented a
throttle which defaults to 100k samples/s, anything over that will be
discarted.

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