Peter Zijlstra
dc1d628a67
perf: Provide generic perf_sample_data initialization
...
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.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Jean Pihet <jpihet@mvista.com>
Reviewed-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Jamie Iles <jamie.iles@picochip.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: stable@kernel.org
LKML-Reference: <20100304140100.315416040@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-03-10 13:22:23 +01:00
..
2010-02-25 22:09:41 +00:00
2010-02-25 22:10:38 +00:00
2010-03-03 08:48:58 -08:00
2010-03-04 08:20:14 -08:00
2010-03-10 13:22:23 +01:00
2009-09-19 13:47:57 +01:00
2010-02-12 17:27:52 +00:00
2010-02-25 22:07:25 +00:00
2010-02-12 17:32:36 +00:00
2010-02-12 17:27:52 +00:00
2010-03-01 13:05:40 -08:00
2010-02-25 22:09:41 +00:00
2010-02-12 17:27:52 +00:00
2010-03-06 15:12:17 +00:00
2010-02-25 22:09:41 +00:00
2010-03-01 09:15:15 -08:00
2010-02-12 17:27:52 +00:00
2010-02-25 22:10:38 +00:00
2010-02-25 22:09:41 +00:00
2010-02-25 22:09:41 +00:00
2010-02-25 22:09:41 +00:00
2010-02-25 22:09:41 +00:00
2010-02-25 22:09:41 +00:00
2010-02-25 22:09:41 +00:00
2010-03-01 09:15:15 -08:00
2010-02-12 17:27:52 +00:00
2010-02-12 17:27:52 +00:00
2010-02-25 22:09:41 +00:00
2010-02-25 22:09:41 +00:00
2010-02-25 22:10:38 +00:00
2010-02-25 22:09:41 +00:00
2010-02-25 22:09:41 +00:00
2010-02-12 17:32:36 +00:00
2010-03-02 14:52:57 -08:00
2010-03-01 09:15:15 -08:00
2010-03-01 09:15:15 -08:00
2010-02-12 17:32:36 +00:00
2010-02-12 17:27:52 +00:00
2010-03-01 09:15:15 -08:00
2010-02-25 22:09:41 +00:00
2010-01-27 22:03:00 +00:00
2010-03-01 09:15:15 -08:00
2010-03-02 10:41:26 -08:00
2010-03-01 09:15:15 -08:00
2010-02-25 22:10:38 +00:00
2010-03-07 17:04:50 -08:00
2010-03-01 09:15:15 -08:00
2010-02-12 17:27:52 +00:00
2010-02-25 22:09:41 +00:00
2009-12-09 19:43:33 -08:00
2010-03-07 17:04:50 -08:00
2009-12-09 19:43:33 -08:00
2010-01-15 17:04:42 +09:00
2009-12-15 08:59:33 -08:00
2009-11-09 09:40:56 +01:00
2010-02-12 17:27:52 +00:00
2010-01-22 09:58:17 +09:00
2010-02-12 17:27:52 +00:00
2010-03-07 17:04:50 -08:00
2010-02-12 17:27:52 +00:00
2009-06-04 14:16:45 +01:00
2009-06-04 14:16:45 +01:00
2010-03-04 08:20:14 -08:00
2010-02-25 22:10:38 +00:00
2010-02-25 22:10:38 +00:00
2010-02-25 22:10:38 +00:00
2010-03-01 09:15:15 -08:00
2009-12-18 16:07:53 +00:00
2010-02-12 17:23:43 +00:00
2010-02-15 21:39:11 +00:00
2010-03-02 14:52:55 -08:00
2010-02-04 18:04:50 +00:00
2010-03-02 10:41:26 -08:00
2009-12-28 23:50:49 -05:00
2009-12-29 14:11:27 +08:00
2010-02-25 22:09:41 +00:00
2009-12-23 19:28:12 +00:00
2010-01-07 11:34:51 +09:00
2009-12-09 19:43:33 -08:00
2009-12-01 01:28:37 +00:00
2010-02-25 22:10:38 +00:00
2010-02-20 14:17:16 +00:00
2010-03-01 09:15:15 -08:00
2010-03-01 09:15:15 -08:00
2009-12-13 16:35:09 +00:00
2010-03-01 09:15:15 -08:00