Home
last modified time | relevance | path

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

/tools/perf/util/
A Dcloexec.c14 static unsigned long flag = PERF_FLAG_FD_CLOEXEC;
41 PERF_FLAG_FD_CLOEXEC); in perf_flag_probe()
A Devsel.c2115 evsel->open_flags = PERF_FLAG_FD_CLOEXEC; in __evsel__prepare_open()
2142 evsel->open_flags &= ~(unsigned long)PERF_FLAG_FD_CLOEXEC; in evsel__disable_missing_features()
2479 if (has_attr_feature(&attr, /*flags=*/PERF_FLAG_FD_CLOEXEC)) in evsel__detect_missing_features()
2535 if ((evsel->open_flags & PERF_FLAG_FD_CLOEXEC) && in evsel__detect_missing_features()
/tools/perf/trace/beauty/
A Dperf_event_open.c14 #ifndef PERF_FLAG_FD_CLOEXEC
15 # define PERF_FLAG_FD_CLOEXEC (1UL << 3) /* O_CLOEXEC */ macro
/tools/perf/tests/shell/attr/
A Dbase-record4 # 0 or PERF_FLAG_FD_CLOEXEC flag
A Dbase-stat4 # 0 or PERF_FLAG_FD_CLOEXEC flag
/tools/testing/selftests/bpf/prog_tests/
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()
A Dget_branch_snapshot.c55 -1, cpu, -1, PERF_FLAG_FD_CLOEXEC); in create_perf_events()
A Dperf_link.c48 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in serial_test_perf_link()
A Dfind_vma.c36 pfd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in open_pe()
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()
A Dbpf_cookie.c455 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in pe_subtest()
/tools/testing/selftests/resctrl/
A Dcache.c50 pe_fd = perf_event_open(pea, pid, cpu_no, -1, PERF_FLAG_FD_CLOEXEC); in perf_open()
A Dresctrl_val.c101 PERF_FLAG_FD_CLOEXEC); in open_perf_read_event()
/tools/testing/selftests/perf_events/
A Dwatermark_signal.c85 PERF_FLAG_FD_CLOEXEC); in TEST()
A Dremove_on_exec.c89 self->fd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in FIXTURE_SETUP()
A Dsigtrap_threads.c133 self->fd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in FIXTURE_SETUP()
/tools/include/uapi/linux/
A Dperf_event.h1296 #define PERF_FLAG_FD_CLOEXEC (1UL << 3) /* O_CLOEXEC */ macro
/tools/testing/selftests/x86/
A Dtest_shadow_stack.c850 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in test_uretprobe()
/tools/lib/bpf/
A Dlibbpf.c11091 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_open_probe()
11231 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_kprobe_open_legacy()
11952 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_uprobe_open_legacy()
12569 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_open_tracepoint()
13365 -1, PERF_FLAG_FD_CLOEXEC); in perf_buffer__open_cpu_buf()
/tools/testing/selftests/seccomp/
A Dseccomp_bpf.c5003 PERF_FLAG_FD_CLOEXEC); in FIXTURE_SETUP()

Completed in 59 milliseconds