Searched refs:PERF_FLAG_FD_CLOEXEC (Results 1 – 17 of 17) sorted by relevance
| /Linux-v5.15/tools/perf/trace/beauty/ |
| D | perf_event_open.c | 14 #ifndef PERF_FLAG_FD_CLOEXEC 15 # define PERF_FLAG_FD_CLOEXEC (1UL << 3) /* O_CLOEXEC */ macro
|
| /Linux-v5.15/tools/perf/util/ |
| D | cloexec.c | 14 static unsigned long flag = PERF_FLAG_FD_CLOEXEC; 54 PERF_FLAG_FD_CLOEXEC); in perf_flag_probe()
|
| D | evsel.c | 1787 evsel->open_flags = PERF_FLAG_FD_CLOEXEC; in __evsel__prepare_open() 1807 evsel->open_flags &= ~(unsigned long)PERF_FLAG_FD_CLOEXEC; in evsel__disable_missing_features() 1895 } else if (!perf_missing_features.cloexec && (evsel->open_flags & PERF_FLAG_FD_CLOEXEC)) { in evsel__detect_missing_features()
|
| /Linux-v5.15/tools/testing/selftests/bpf/prog_tests/ |
| D | perf_branches.c | 116 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_perf_branches_hw() 155 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_perf_branches_no_hw()
|
| D | perf_link.c | 42 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_perf_link()
|
| D | bpf_cookie.c | 197 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in pe_subtest()
|
| /Linux-v5.15/tools/perf/tests/attr/ |
| D | base-record | 4 # 0 or PERF_FLAG_FD_CLOEXEC flag
|
| D | base-stat | 4 # 0 or PERF_FLAG_FD_CLOEXEC flag
|
| /Linux-v5.15/tools/testing/selftests/resctrl/ |
| D | cache.c | 41 PERF_FLAG_FD_CLOEXEC); in perf_event_open_llc_miss()
|
| D | resctrl_val.c | 137 PERF_FLAG_FD_CLOEXEC); in open_perf_event()
|
| /Linux-v5.15/tools/testing/selftests/perf_events/ |
| D | remove_on_exec.c | 89 self->fd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in FIXTURE_SETUP()
|
| D | sigtrap_threads.c | 126 self->fd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in FIXTURE_SETUP()
|
| /Linux-v5.15/include/uapi/linux/ |
| D | perf_event.h | 1198 #define PERF_FLAG_FD_CLOEXEC (1UL << 3) /* O_CLOEXEC */ macro
|
| /Linux-v5.15/tools/include/uapi/linux/ |
| D | perf_event.h | 1198 #define PERF_FLAG_FD_CLOEXEC (1UL << 3) /* O_CLOEXEC */ macro
|
| /Linux-v5.15/samples/bpf/ |
| D | task_fd_query_user.c | 271 kfd = sys_perf_event_open(&attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_debug_fs_uprobe()
|
| /Linux-v5.15/tools/lib/bpf/ |
| D | libbpf.c | 9199 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_open_probe() 9382 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_open_tracepoint() 9888 -1, PERF_FLAG_FD_CLOEXEC); in perf_buffer__open_cpu_buf()
|
| /Linux-v5.15/kernel/events/ |
| D | core.c | 360 PERF_FLAG_FD_CLOEXEC) 12060 if (flags & PERF_FLAG_FD_CLOEXEC) in SYSCALL_DEFINE5()
|