Messages in this thread | | | Date | Mon, 6 Jan 2014 08:27:54 -0800 | From | Andi Kleen <> | Subject | Re: [PATCH] perf tools: enable close-on-exec flag on perf file descriptor |
| |
On Mon, Jan 06, 2014 at 11:51:25AM +0100, Yann Droneaud wrote: > In a previous patch [1][2], flag PERF_FLAG_FD_CLOEXEC was > added to perf_event_open(2) syscall to allows userspace > to enable close-on-exec behavor atomically when creating > the file descriptor. > > This patch makes perf tools use the new flag.
What is that good for? I can see why for a threaded program, but "perf" is not threaded.
-Andi
| |