Re: [PATCH 1/3] perf: disable sampled events if no PMU interrupt

From: Vince Weaver
Date: Tue May 20 2014 - 09:15:34 EST


On Tue, 20 May 2014, Peter Zijlstra wrote:

> > +#define PERF_PMU_NO_INTERRUPT 1
>
> Are you ok with me making that:
>
> #define PERF_PMU_CAP_NO_INTERRUPT 0x01

sounds good. All my recent fuzzing has made me paranoid enough to
double check that yes indeed we don't need to slap an ULL on the end of
that.

Though I hope 32-bits is enough for this, I feel like we've just added the
feature and suddenly all kinds of uses are coming out of the woodwork.

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/