diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2014-01-03 16:54:12 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-01-13 10:06:22 -0300 |
| commit | f26e1c7cb279051d83e0b671f48b30fe88c2c788 (patch) | |
| tree | 9f580f4038fdcd9b55ad168bcd7fe864262637ce /tools/perf/scripts/python/bin | |
| parent | 03ad9747c5f2169556467101e96bc390c5aa4b83 (diff) | |
perf evlist: Close fds on destructor
Since it is safe to call perf_evlist__close() multiple times, autoclose
it and remove the calls to the close from existing tools, reducing the
tooling boilerplate.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mike Galbraith <[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/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions