From: Stephane Eranian Date: Thu, 9 Feb 2012 15:12:38 +0000 (+0100) Subject: perf tools: cleanup initialization of attr->size X-Git-Tag: v3.4-rc1~192^2~14^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e1ccd3804281fc0755eb726b654469c40a96d89;p=pandora-kernel.git 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 Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20120209151238.GA10272@quad Signed-off-by: Stephane Eranian Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed