Symbol: PERF_FLAG_FD_CLOEXEC
kernel/events/core.c
13878
if (flags & PERF_FLAG_FD_CLOEXEC)
kernel/events/core.c
430
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
11443
-1 /* group_fd */, PERF_FLAG_FD_CLOEXEC);
tools/lib/bpf/libbpf.c
11583
-1 /* group_fd */, PERF_FLAG_FD_CLOEXEC);
tools/lib/bpf/libbpf.c
12303
-1 /* group_fd */, PERF_FLAG_FD_CLOEXEC);
tools/lib/bpf/libbpf.c
12918
-1 /* group_fd */, PERF_FLAG_FD_CLOEXEC);
tools/lib/bpf/libbpf.c
13714
-1, PERF_FLAG_FD_CLOEXEC);
tools/perf/trace/beauty/perf_event_open.c
14
#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
2315
evsel->open_flags = PERF_FLAG_FD_CLOEXEC;
tools/perf/util/evsel.c
2346
evsel->open_flags &= ~(unsigned long)PERF_FLAG_FD_CLOEXEC;
tools/perf/util/evsel.c
2690
if (has_attr_feature(&attr, /*flags=*/PERF_FLAG_FD_CLOEXEC))
tools/perf/util/evsel.c
2750
if ((evsel->open_flags & PERF_FLAG_FD_CLOEXEC) &&
tools/testing/selftests/bpf/prog_tests/bpf_cookie.c
454
pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -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
48
pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC);
tools/testing/selftests/bpf/prog_tests/unpriv_bpf_disabled.c
287
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
50
pe_fd = perf_event_open(pea, pid, cpu_no, -1, PERF_FLAG_FD_CLOEXEC);
tools/testing/selftests/resctrl/resctrl_val.c
101
PERF_FLAG_FD_CLOEXEC);
tools/testing/selftests/seccomp/seccomp_bpf.c
5187
PERF_FLAG_FD_CLOEXEC);
tools/testing/selftests/x86/test_shadow_stack.c
850
-1 /* group_fd */, PERF_FLAG_FD_CLOEXEC);