From: Arnaldo Carvalho de Melo Date: Fri, 25 Nov 2011 10:19:45 +0000 (-0200) Subject: perf tools: Pass tool context in the the perf_event_ops functions X-Git-Tag: v3.3-rc1~192^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d20deb64e0490ee9442b5181bc08a62d2cadcb90;p=pandora-kernel.git perf tools: Pass tool context in the the perf_event_ops functions So that we don't need to have that many globals. Next steps will remove the 'session' pointer, that in most cases is not needed. Then we can rename perf_event_ops to 'perf_tool' that better describes this class hierarchy. Cc: David Ahern Cc: Frederic Weisbecker Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/n/tip-wp4djox7x6w1i2bab1pt4xxp@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed