diff options
author | Adrian Hunter <[email protected]> | 2014-07-23 14:23:00 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-07-23 17:14:39 -0300 |
commit | d027b64001b21328cc92d35c6444e1a7a926ea76 (patch) | |
tree | 9a192e3b023222d6b3f22f385d5d2c9440aa1685 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 30f4f815a45d0b148d17afb0d5a5575ae2ba4309 (diff) |
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 <[email protected]>
Signed-off-by: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions