| /linux/tools/perf/util/ |
| H A D | cloexec.c | 14 static unsigned long flag = PERF_FLAG_FD_CLOEXEC; 41 PERF_FLAG_FD_CLOEXEC); in perf_flag_probe()
|
| H A D | evsel.c | 2198 evsel->open_flags = PERF_FLAG_FD_CLOEXEC; in __evsel__prepare_open() 2229 evsel->open_flags &= ~(unsigned long)PERF_FLAG_FD_CLOEXEC; in evsel__disable_missing_features() 2573 if (has_attr_feature(&attr, /*flags=*/PERF_FLAG_FD_CLOEXEC)) in evsel__detect_missing_features() 2633 if ((evsel->open_flags & PERF_FLAG_FD_CLOEXEC) && in evsel__detect_missing_features()
|
| /linux/tools/perf/trace/beauty/ |
| H A D | perf_event_open.c | 14 #ifndef PERF_FLAG_FD_CLOEXEC 15 # define PERF_FLAG_FD_CLOEXEC (1UL << 3) /* O_CLOEXEC */ macro
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | perf_branches.c | 128 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_perf_branches_hw() 167 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_perf_branches()
|
| H A D | get_branch_snapshot.c | 55 -1, cpu, -1, PERF_FLAG_FD_CLOEXEC); in create_perf_events()
|
| H A D | find_vma.c | 36 pfd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in open_pe()
|
| H A D | unpriv_bpf_disabled.c | 287 perf_fd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_unpriv_bpf_disabled()
|
| H A D | bpf_cookie.c | 454 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in pe_subtest()
|
| /linux/tools/testing/selftests/resctrl/ |
| H A D | cache.c | 50 pe_fd = perf_event_open(pea, pid, cpu_no, -1, PERF_FLAG_FD_CLOEXEC); in perf_open()
|
| /linux/tools/testing/selftests/perf_events/ |
| H A D | watermark_signal.c | 83 PERF_FLAG_FD_CLOEXEC); in TEST()
|
| H A D | remove_on_exec.c | 89 self->fd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in FIXTURE_SETUP()
|
| H A D | sigtrap_threads.c | 133 self->fd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in FIXTURE_SETUP()
|
| /linux/samples/bpf/ |
| H A D | task_fd_query_user.c | 270 kfd = sys_perf_event_open(&attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_debug_fs_uprobe()
|
| /linux/tools/include/uapi/linux/ |
| H A D | perf_event.h | 1317 #define PERF_FLAG_FD_CLOEXEC (1UL << 3) /* O_CLOEXEC */ macro
|
| /linux/include/uapi/linux/ |
| H A D | perf_event.h | 1317 #define PERF_FLAG_FD_CLOEXEC (1UL << 3) /* O_CLOEXEC */ macro
|
| /linux/tools/testing/selftests/x86/ |
| H A D | test_shadow_stack.c | 850 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in test_uretprobe()
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 11411 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_open_probe() 11551 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_kprobe_open_legacy() 12271 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_uprobe_open_legacy() 12886 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_open_tracepoint() 13682 -1, PERF_FLAG_FD_CLOEXEC); in perf_buffer__open_cpu_buf()
|
| /linux/tools/testing/selftests/seccomp/ |
| H A D | seccomp_bpf.c | 5187 PERF_FLAG_FD_CLOEXEC); in FIXTURE_SETUP()
|
| /linux/kernel/events/ |
| H A D | core.c | 417 PERF_FLAG_FD_CLOEXEC) 13544 if (flags & PERF_FLAG_FD_CLOEXEC) in SYSCALL_DEFINE5()
|