Re: [PATCH 1/4] perf tools: Fix CLOEXEC probe for perf_event_paranoid == 2

2014-08-12 Thread Namhyung Kim
Hi Adrian, On Tue, 12 Aug 2014 18:04:28 +0300, Adrian Hunter wrote: > With /proc/sys/kernel/perf_event_paranoid set to 2, the > probe of PERF_FLAG_FD_CLOEXEC would fail. Fix by excluding > kernel profiling from the probe event. > > Signed-off-by: Adrian Hunter Acked-by: Namhyung Kim Thanks, N

[PATCH 1/4] perf tools: Fix CLOEXEC probe for perf_event_paranoid == 2

2014-08-12 Thread Adrian Hunter
With /proc/sys/kernel/perf_event_paranoid set to 2, the probe of PERF_FLAG_FD_CLOEXEC would fail. Fix by excluding kernel profiling from the probe event. Signed-off-by: Adrian Hunter --- tools/perf/util/cloexec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/util/cloexec.c b/to