Home
last modified time | relevance | path

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

/Linux-v6.6/tools/perf/util/
Dcloexec.c14 static unsigned long flag = PERF_FLAG_FD_CLOEXEC;
41 PERF_FLAG_FD_CLOEXEC); in perf_flag_probe()
Devsel.c1825 evsel->open_flags = PERF_FLAG_FD_CLOEXEC; in __evsel__prepare_open()
1847 evsel->open_flags &= ~(unsigned long)PERF_FLAG_FD_CLOEXEC; in evsel__disable_missing_features()
1940 } else if (!perf_missing_features.cloexec && (evsel->open_flags & PERF_FLAG_FD_CLOEXEC)) { in evsel__detect_missing_features()
/Linux-v6.6/tools/perf/trace/beauty/
Dperf_event_open.c14 #ifndef PERF_FLAG_FD_CLOEXEC
15 # define PERF_FLAG_FD_CLOEXEC (1UL << 3) /* O_CLOEXEC */ macro
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
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()
Dperf_link.c43 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in serial_test_perf_link()
Dget_branch_snapshot.c55 -1, cpu, -1, PERF_FLAG_FD_CLOEXEC); in create_perf_events()
Dfind_vma.c36 pfd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in open_pe()
Dunpriv_bpf_disabled.c286 perf_fd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_unpriv_bpf_disabled()
Dbpf_cookie.c455 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in pe_subtest()
/Linux-v6.6/tools/perf/tests/attr/
Dbase-record4 # 0 or PERF_FLAG_FD_CLOEXEC flag
Dbase-stat4 # 0 or PERF_FLAG_FD_CLOEXEC flag
/Linux-v6.6/tools/testing/selftests/perf_events/
Dremove_on_exec.c89 self->fd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in FIXTURE_SETUP()
Dsigtrap_threads.c133 self->fd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in FIXTURE_SETUP()
/Linux-v6.6/tools/testing/selftests/resctrl/
Dcache.c41 PERF_FLAG_FD_CLOEXEC); in perf_event_open_llc_miss()
Dresctrl_val.c137 PERF_FLAG_FD_CLOEXEC); in open_perf_event()
/Linux-v6.6/samples/bpf/
Dtask_fd_query_user.c270 kfd = sys_perf_event_open(&attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_debug_fs_uprobe()
/Linux-v6.6/tools/include/uapi/linux/
Dperf_event.h1264 #define PERF_FLAG_FD_CLOEXEC (1UL << 3) /* O_CLOEXEC */ macro
/Linux-v6.6/include/uapi/linux/
Dperf_event.h1264 #define PERF_FLAG_FD_CLOEXEC (1UL << 3) /* O_CLOEXEC */ macro
/Linux-v6.6/tools/lib/bpf/
Dlibbpf.c10288 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_open_probe()
10429 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_kprobe_open_legacy()
11090 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_uprobe_open_legacy()
11683 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_open_tracepoint()
12387 -1, PERF_FLAG_FD_CLOEXEC); in perf_buffer__open_cpu_buf()
/Linux-v6.6/kernel/events/
Dcore.c363 PERF_FLAG_FD_CLOEXEC)
12425 if (flags & PERF_FLAG_FD_CLOEXEC) in SYSCALL_DEFINE5()