Re: [PATCH 1/2] perf: fix PERF_EVENT_IOC_PERIOD to force-reset theperiod

From: Vince Weaver
Date: Wed Nov 27 2013 - 10:15:06 EST


On Wed, 27 Nov 2013, Will Deacon wrote:

> Vince Weaver reports that, on all architectures apart from ARM,
> PERF_EVENT_IOC_PERIOD doesn't actually update the period until the next
> event fires. This is counter-intuitive behaviour and is better dealt
> with in the core code.

To be fair, it was Andreas Sandberg <andreas.sandberg@xxxxxxxx>
who noticed this issue and reported it to me (in the context of
the manpage being wrong). I just passed it on to the linux-kernel list.

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