Jiri Olsa cd6379ebb5 perf tools: Open perf.data with O_CLOEXEC flag
Do not carry the perf.data file descriptor into the workload process and
close it when perf executes the workload.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20170908084621.31595-2-jolsa@kernel.org
[ Add definitions for O_CLOEXEC for older systems ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-09-12 12:34:23 -03:00
..
2017-07-25 11:23:50 -03:00
2017-04-24 13:43:32 -03:00
2016-06-28 10:54:56 -03:00
2017-07-18 23:14:11 -03:00
2017-07-18 23:14:11 -03:00
2017-04-19 13:01:51 -03:00
2015-08-21 11:34:10 -03:00
2016-10-24 11:07:39 -03:00
2017-06-19 15:27:05 -03:00
2015-05-05 18:13:22 -03:00
2015-05-05 18:13:22 -03:00
2016-07-12 15:19:55 -03:00
2017-07-18 23:14:08 -03:00
2017-07-26 14:21:59 -03:00
2017-07-26 14:21:59 -03:00
2016-08-23 15:37:33 -03:00
2016-04-28 09:58:58 -03:00
2017-06-27 11:49:13 -03:00
2015-05-29 12:43:44 -03:00
2017-08-22 11:51:28 -03:00
2017-08-22 11:51:28 -03:00