From: Adrian Hunter Date: Wed, 23 Jul 2014 11:23:00 +0000 (+0300) Subject: perf machine: Fix the lifetime of the VDSO temporary file X-Git-Tag: omap-for-v3.17/fixes-against-rc2~178^2~1^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d027b64001b21328cc92d35c6444e1a7a926ea76;p=pandora-kernel.git perf machine: Fix the lifetime of the VDSO temporary file The VDSO temporary file is unlinked when a session is deleted. That precludes the possibilities that there is no session or there is more than one session. Correctly the vdso belongs to the machine so put the information on 'struct machine' and get rid of the global variables. Reviewed-by: Jiri Olsa Signed-off-by: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/r/53CF9B14.7040408@intel.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed