Messages in this thread | | | Date | Wed, 03 Mar 2010 08:49:25 -0800 (PST) | Subject | Re: [RFC][PATCH 05/11] perf: Generic perf_sample_data initialization | From | David Miller <> |
| |
From: Peter Zijlstra <a.p.zijlstra@chello.nl> Date: Wed, 03 Mar 2010 17:39:41 +0100
> 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@picochip.com> > CC: Jean Pihet <jpihet@mvista.com> > CC: Paul Mackerras <paulus@samba.org> > CC: Ingo Molnar <mingo@elte.hu> > CC: David S. Miller <davem@davemloft.net> > CC: Stephane Eranian <eranian@google.com> > CC: Frederic Weisbecker <fweisbec@gmail.com> > CC: stable@kernel.org > Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: David S. Miller <davem@davemloft.net>
| |