Home
last modified time | relevance | path

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

/linux/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
/linux/tools/perf/util/
A Dcloexec.c14 static unsigned long flag = PERF_FLAG_FD_CLOEXEC;
54 PERF_FLAG_FD_CLOEXEC); in perf_flag_probe()
A Devsel.c1806 evsel->open_flags = PERF_FLAG_FD_CLOEXEC; in __evsel__prepare_open()
1826 evsel->open_flags &= ~(unsigned long)PERF_FLAG_FD_CLOEXEC; in evsel__disable_missing_features()
1914 } else if (!perf_missing_features.cloexec && (evsel->open_flags & PERF_FLAG_FD_CLOEXEC)) { in evsel__detect_missing_features()
/linux/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 Dperf_link.c43 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in serial_test_perf_link()
A Dget_branch_snapshot.c55 -1, cpu, -1, PERF_FLAG_FD_CLOEXEC); in create_perf_events()
A Dbpf_cookie.c197 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in pe_subtest()
/linux/tools/perf/tests/attr/
A Dbase-record4 # 0 or PERF_FLAG_FD_CLOEXEC flag
A Dbase-stat4 # 0 or PERF_FLAG_FD_CLOEXEC flag
/linux/tools/testing/selftests/perf_events/
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.c126 self->fd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in FIXTURE_SETUP()
/linux/tools/testing/selftests/resctrl/
A Dcache.c41 PERF_FLAG_FD_CLOEXEC); in perf_event_open_llc_miss()
A Dresctrl_val.c137 PERF_FLAG_FD_CLOEXEC); in open_perf_event()
/linux/samples/bpf/
A Dtask_fd_query_user.c271 kfd = sys_perf_event_open(&attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_debug_fs_uprobe()
/linux/tools/include/uapi/linux/
A Dperf_event.h1213 #define PERF_FLAG_FD_CLOEXEC (1UL << 3) /* O_CLOEXEC */ macro
/linux/include/uapi/linux/
A Dperf_event.h1213 #define PERF_FLAG_FD_CLOEXEC (1UL << 3) /* O_CLOEXEC */ macro
/linux/tools/lib/bpf/
A Dlibbpf.c9603 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_open_probe()
9697 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_kprobe_open_legacy()
9892 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_uprobe_open_legacy()
10022 -1 /* group_fd */, PERF_FLAG_FD_CLOEXEC); in perf_event_open_tracepoint()
10542 -1, PERF_FLAG_FD_CLOEXEC); in perf_buffer__open_cpu_buf()
/linux/kernel/events/
A Dcore.c360 PERF_FLAG_FD_CLOEXEC)
12093 if (flags & PERF_FLAG_FD_CLOEXEC) in SYSCALL_DEFINE5()

Completed in 75 milliseconds