perf tests: Add test for closing dso objects on EMFILE error
authorJiri Olsa <jolsa@kernel.org>
Mon, 12 May 2014 12:50:03 +0000 (14:50 +0200)
committerJiri Olsa <jolsa@kernel.org>
Thu, 12 Jun 2014 14:53:23 +0000 (16:53 +0200)
commit45dc1bb5c1d47f9519e2101f6b073bb4bb1d1f99
tree7af7f287ce8c723393fa014288da900eb03a3641
parent4ebbcb84b19b8472fb5b9c8be89b3d0ea17c902e
perf tests: Add test for closing dso objects on EMFILE error

Testing that perf properly closes opened dso objects
and tries to reopen in case we run out of allowed file
descriptors for dso data.

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>
Reviewed by: David Ahern <dsahern@gmail.com>
Link: http://lkml.kernel.org/r/1401892622-30848-14-git-send-email-jolsa@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/tests/builtin-test.c
tools/perf/tests/dso-data.c
tools/perf/tests/tests.h