Re: [RFC][PATCH 05/11] perf: Generic perf_sample_datainitialization

From: Frederic Weisbecker
Date: Wed Mar 03 2010 - 16:14:35 EST

On Wed, Mar 03, 2010 at 05:39:41PM +0100, Peter Zijlstra wrote:
> This makes it easier to extend perf_sample_data and fixes a bug on
> arm and sparc, which failed to set ->raw to NULL, which can cause
> crashes when combined with PERF_SAMPLE_RAW.
> It also optimizes PowerPC and tracepoint, because the struct
> initialization is forced to zero out the whole structure.
> CC: Jamie Iles <jamie.iles@xxxxxxxxxxxx>
> CC: Jean Pihet <jpihet@xxxxxxxxxx>
> CC: Paul Mackerras <paulus@xxxxxxxxx>
> CC: Ingo Molnar <mingo@xxxxxxx>
> CC: David S. Miller <davem@xxxxxxxxxxxxx>
> CC: Stephane Eranian <eranian@xxxxxxxxxx>

Reviewed-by: Frederic Weisbecker <fweisbec@xxxxxxxxx>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at