Re: [RFC][PATCH 05/11] perf: Generic perf_sample_data initialization

From: Jean Pihet
Date: Fri Mar 05 2010 - 03:45:16 EST

On Wednesday 03 March 2010 17:39:41 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>
> CC: Frederic Weisbecker <fweisbec@xxxxxxxxx>
> CC: stable@xxxxxxxxxx
> Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>

Acked-by: Jean Pihet <jpihet@xxxxxxxxxx>


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