Re: [PATCH -tip] perf, x86, Pentium4: Add RAW events verification

From: Cyrill Gorcunov
Date: Fri Aug 27 2010 - 09:53:17 EST


On Fri, Aug 27, 2010 at 01:21:20PM +0800, Lin Ming wrote:
> On Thu, 2010-08-26 at 02:23 +0800, Cyrill Gorcunov wrote:
> > Implements verification of
> >
> > - Bits of ESCR EventMask field (meaningful bits in field are hardware
> > predefined and others bits should be set to zero)
> >
> > - INSTR_COMPLETED event (it is available on predefined cpu model only)
> >
> > - Thread shared events (they should be guarded by "perf_event_paranoid"
> > sysctl due to security reason). The side effect of this action is
> > that PERF_COUNT_HW_BUS_CYCLES become a "paranoid" general event.
> >
> > Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>
> > CC: Lin Ming <ming.m.lin@xxxxxxxxx>
> > CC: Frederic Weisbecker <fweisbec@xxxxxxxxx>
> > CC: Ingo Molnar <mingo@xxxxxxx>
> > CC: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> > ---
...
> I have tested this patch on a 16cpus Netburst server.
> The predefined hardware/cache events work well.
>
> Thanks,
> Lin Ming
>

Thanks a lot, Ming!
--
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/