Home
last modified time | relevance | path

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

/tools/perf/trace/beauty/
Dperf_event_open.c14 #ifndef PERF_FLAG_FD_CLOEXEC
15 # define PERF_FLAG_FD_CLOEXEC (1UL << 3) /* O_CLOEXEC */ macro
/tools/perf/util/
Dcloexec.c14 static unsigned long flag = PERF_FLAG_FD_CLOEXEC;
54 PERF_FLAG_FD_CLOEXEC); in perf_flag_probe()
Devsel.c1796 evsel->open_flags = PERF_FLAG_FD_CLOEXEC; in __evsel__prepare_open()
1816 evsel->open_flags &= ~(unsigned long)PERF_FLAG_FD_CLOEXEC; in evsel__disable_missing_features()
1904 } else if (!perf_missing_features.cloexec && (evsel->open_flags & PERF_FLAG_FD_CLOEXEC)) { in evsel__detect_missing_features()
/tools/perf/tests/attr/
Dbase-record4 # 0 or PERF_FLAG_FD_CLOEXEC flag
Dbase-stat4 # 0 or PERF_FLAG_FD_CLOEXEC flag
/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.c42 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_perf_link()
Dbpf_cookie.c197 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in pe_subtest()
/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.c126 self->fd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in FIXTURE_SETUP()
/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()
/tools/include/uapi/linux/
Dperf_event.h1203 #define PERF_FLAG_FD_CLOEXEC (1UL << 3) /* O_CLOEXEC */ macro
/tools/lib/bpf/
Dlibbpf.c9226 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_open_probe()
9409 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_open_tracepoint()
9915 -1, PERF_FLAG_FD_CLOEXEC); in perf_buffer__open_cpu_buf()