Symbol: PERF_FLAG_FD_CLOEXEC
kernel/events/core.c
13956
if (flags & PERF_FLAG_FD_CLOEXEC)
kernel/events/core.c
431
PERF_FLAG_FD_CLOEXEC)
samples/bpf/task_fd_query_user.c
270
kfd = sys_perf_event_open(&attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC);
tools/lib/bpf/libbpf.c
11703
-1 /* group_fd */, PERF_FLAG_FD_CLOEXEC);
tools/lib/bpf/libbpf.c
11843
-1 /* group_fd */, PERF_FLAG_FD_CLOEXEC);
tools/lib/bpf/libbpf.c
12862
-1 /* group_fd */, PERF_FLAG_FD_CLOEXEC);
tools/lib/bpf/libbpf.c
13477
-1 /* group_fd */, PERF_FLAG_FD_CLOEXEC);
tools/lib/bpf/libbpf.c
14294
-1, PERF_FLAG_FD_CLOEXEC);
tools/perf/trace/beauty/perf_event_open.c
19
#ifndef PERF_FLAG_FD_CLOEXEC
tools/perf/util/cloexec.c
14
static unsigned long flag = PERF_FLAG_FD_CLOEXEC;
tools/perf/util/cloexec.c
41
PERF_FLAG_FD_CLOEXEC);
tools/perf/util/evsel.c
2493
evsel->open_flags = PERF_FLAG_FD_CLOEXEC;
tools/perf/util/evsel.c
2524
evsel->open_flags &= ~(unsigned long)PERF_FLAG_FD_CLOEXEC;
tools/perf/util/evsel.c
2868
if (has_attr_feature(&attr, /*flags=*/PERF_FLAG_FD_CLOEXEC))
tools/perf/util/evsel.c
2928
if ((evsel->open_flags & PERF_FLAG_FD_CLOEXEC) &&
tools/testing/selftests/bpf/prog_tests/bpf_cookie.c
474
pfd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC);
tools/testing/selftests/bpf/prog_tests/find_vma.c
36
pfd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC);
tools/testing/selftests/bpf/prog_tests/get_branch_snapshot.c
55
-1, cpu, -1, PERF_FLAG_FD_CLOEXEC);
tools/testing/selftests/bpf/prog_tests/perf_branches.c
128
pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC);
tools/testing/selftests/bpf/prog_tests/perf_branches.c
167
pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC);
tools/testing/selftests/bpf/prog_tests/perf_link.c
38
pfd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC);
tools/testing/selftests/bpf/prog_tests/unpriv_bpf_disabled.c
268
perf_fd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC);
tools/testing/selftests/perf_events/remove_on_exec.c
89
self->fd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC);
tools/testing/selftests/perf_events/sigtrap_threads.c
133
self->fd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC);
tools/testing/selftests/perf_events/watermark_signal.c
83
PERF_FLAG_FD_CLOEXEC);
tools/testing/selftests/resctrl/cache.c
43
pe_fd = perf_event_open(pea, pid, cpu_no, -1, PERF_FLAG_FD_CLOEXEC);
tools/testing/selftests/resctrl/resctrl_val.c
100
PERF_FLAG_FD_CLOEXEC);
tools/testing/selftests/seccomp/seccomp_bpf.c
5194
PERF_FLAG_FD_CLOEXEC);
tools/testing/selftests/x86/test_shadow_stack.c
850
-1 /* group_fd */, PERF_FLAG_FD_CLOEXEC);
tools/testing/selftests/x86/test_shadow_stack.c
929
-1 /* group_fd */, PERF_FLAG_FD_CLOEXEC);