Stephane Eranian 7e1ccd3804 perf tools: cleanup initialization of attr->size
The perf_event_attr size needs to be initialized in all cases because it
captures the ABI version.

This patch moves the initialization of the field from the
perf_event_open() syscall stub to its proper location in the
event_attr_init().

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20120209151238.GA10272@quad
Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2012-02-13 23:35:04 -02:00
..
2011-02-16 13:30:48 +01:00
2011-08-18 07:46:13 -03:00
2012-02-13 23:17:40 -02:00
2009-06-27 06:06:39 +02:00
2010-08-21 11:22:47 -03:00
2010-05-14 20:05:21 -03:00
2012-01-24 19:47:37 -02:00