Re: [PATCH] perf: fix interrupt handler timing harness

From: Ingo Molnar
Date: Fri Jul 05 2013 - 02:54:43 EST



* Stephane Eranian <eranian@xxxxxxxxxx> wrote:

> This patch fixes a serious bug in:
>
> commit 14c63f17b1fde5a575a28e96547a22b451c71fb5
> Author: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
> Date: Fri Jun 21 08:51:36 2013 -0700
>
> perf: Drop sample rate when sampling is too slow
>
>
> There was an misunderstanding on the API of the do_div()
> macro. It returns the remainder of the division and this
> was not what the function expected leading to disabling the
> interrupt latency watchdog.
>
> This patch also remove a duplicate assignment in
> perf_sample_event_took().
>
> Signed-off-by: Stephane Eranian <eranian@xxxxxxxxxx>

Thanks Stephane - I've applied this to perf/urgent and will get it to
Linus ASAP.

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/