Home
last modified time | relevance | path

Searched refs:PERF_FLAG_FD_CLOEXEC (Results 1 – 22 of 22) sorted by relevance

/linux/tools/perf/util/
H A Dcloexec.c14 static unsigned long flag = PERF_FLAG_FD_CLOEXEC;
41 PERF_FLAG_FD_CLOEXEC); in perf_flag_probe()
H A Devsel.c2083 evsel->open_flags = PERF_FLAG_FD_CLOEXEC; in __evsel__prepare_open()
2107 evsel->open_flags &= ~(unsigned long)PERF_FLAG_FD_CLOEXEC; in evsel__disable_missing_features()
2205 } else if (!perf_missing_features.cloexec && (evsel->open_flags & PERF_FLAG_FD_CLOEXEC)) { in evsel__detect_missing_features()
/linux/tools/perf/trace/beauty/
H A Dperf_event_open.c14 #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 Dperf_branches.c116 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()
H A Dperf_link.c43 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in serial_test_perf_link()
H A Dget_branch_snapshot.c55 -1, cpu, -1, PERF_FLAG_FD_CLOEXEC); in create_perf_events()
H A Dfind_vma.c36 pfd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in open_pe()
H A Dunpriv_bpf_disabled.c287 perf_fd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_unpriv_bpf_disabled()
H A Dbpf_cookie.c455 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in pe_subtest()
/linux/tools/perf/tests/attr/
H A Dbase-stat4 # 0 or PERF_FLAG_FD_CLOEXEC flag
H A Dbase-record4 # 0 or PERF_FLAG_FD_CLOEXEC flag
/linux/tools/testing/selftests/perf_events/
H A Dwatermark_signal.c85 PERF_FLAG_FD_CLOEXEC); in TEST()
H A Dremove_on_exec.c89 self->fd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in FIXTURE_SETUP()
H A Dsigtrap_threads.c133 self->fd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in FIXTURE_SETUP()
/linux/tools/testing/selftests/resctrl/
H A Dcache.c50 pe_fd = perf_event_open(pea, pid, cpu_no, -1, PERF_FLAG_FD_CLOEXEC); in perf_open()
H A Dresctrl_val.c118 PERF_FLAG_FD_CLOEXEC); in open_perf_event()
/linux/samples/bpf/
H A Dtask_fd_query_user.c270 kfd = sys_perf_event_open(&attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_debug_fs_uprobe()
/linux/include/uapi/linux/
H A Dperf_event.h1274 #define PERF_FLAG_FD_CLOEXEC (1UL << 3) /* O_CLOEXEC */ macro
/linux/tools/include/uapi/linux/
H A Dperf_event.h1274 #define PERF_FLAG_FD_CLOEXEC (1UL << 3) /* O_CLOEXEC */ macro
/linux/tools/testing/selftests/x86/
H A Dtest_shadow_stack.c850 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in test_uretprobe()
/linux/tools/lib/bpf/
H A Dlibbpf.c10938 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_open_probe()
11079 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_kprobe_open_legacy()
11779 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_uprobe_open_legacy()
12388 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_open_tracepoint()
13164 -1, PERF_FLAG_FD_CLOEXEC); in perf_buffer__open_cpu_buf()
/linux/kernel/events/
H A Dcore.c402 PERF_FLAG_FD_CLOEXEC)
12731 if (flags & PERF_FLAG_FD_CLOEXEC) in SYSCALL_DEFINE5()