Re: [PATCH] perf_event: fix broken calc_timer_values()

From: Peter Zijlstra
Date: Mon Aug 29 2011 - 08:53:18 EST


On Mon, 2011-08-29 at 14:41 +0200, Stephane Eranian wrote:

> @@ -3354,8 +3354,8 @@ static int perf_event_index(struct perf_event *event)
> }
>
> static void calc_timer_values(struct perf_event *event,
> - u64 *running,
> - u64 *enabled)
> + u64 *enabled,
> + u64 *running)
> {
> u64 now, ctx_time;
>

Urgh, nice catch.. I'll queue it for perf/urgent and Cc stable for 3.0.x
--
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/