diff options
author | Jiri Olsa <jolsa@kernel.org> | 2014-05-07 21:35:02 +0200 |
---|---|---|
committer | Jiri Olsa <jolsa@kernel.org> | 2014-06-12 16:53:21 +0200 |
commit | a08cae03f430b971afa508a32662dc476d42d8cb (patch) | |
tree | 3258591c03af54b3392fc3292baa194e63b45296 /tools/perf/util/dso.h | |
parent | perf tools: Add file size check and factor dso__data_read_offset (diff) | |
download | linux-a08cae03f430b971afa508a32662dc476d42d8cb.tar.xz linux-a08cae03f430b971afa508a32662dc476d42d8cb.zip |
perf tools: Allow to close dso fd in case of open failure
Adding do_open function that tries to close opened
dso objects in case we fail to open the dso due to
to crossing the allowed RLIMIT_NOFILE limit.
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jean Pihet <jean.pihet@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1401892622-30848-9-git-send-email-jolsa@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/perf/util/dso.h')
0 files changed, 0 insertions, 0 deletions