Home
last modified time | relevance | path

Searched refs:sys_perf_event_open (Results 1 – 21 of 21) sorted by relevance

/tools/perf/util/
Dcloexec.c53 fd = sys_perf_event_open(&attr, pid, cpu, -1, in perf_flag_probe()
74 fd = sys_perf_event_open(&attr, pid, cpu, -1, 0); in perf_flag_probe()
Drecord.c36 fd = sys_perf_event_open(&evsel->core.attr, pid, cpu, -1, flags); in perf_do_probe_api()
50 fd = sys_perf_event_open(&evsel->core.attr, pid, cpu, -1, flags); in perf_do_probe_api()
131 fd = sys_perf_event_open(&attr, -1, cpu, -1, 0); in perf_can_record_cpu_wide()
291 fd = sys_perf_event_open(&evsel->core.attr, pid, cpu, -1, in perf_evlist__can_select_event()
Devsel.c1549 fd = sys_perf_event_open(&evsel->core.attr, pid, cpu, group_fd, flags); in perf_event_open()
/tools/testing/selftests/powerpc/ptrace/
Dperf-hwbreak.c37 static inline int sys_perf_event_open(struct perf_event_attr *attr, pid_t pid, in sys_perf_event_open() function
58 fd = sys_perf_event_open(&attr, 0, -1, -1, 0); in breakpoint_test()
107 break_fd = sys_perf_event_open(&attr, 0, -1, -1, 0); in runtestsingle()
/tools/perf/arch/x86/tests/
Dintel-cqm.c84 fd[0] = sys_perf_event_open(&pe, pid, -1, -1, flag); in test__intel_cqm_count_nmi_context()
96 fd[1] = sys_perf_event_open(&pe, pid, -1, fd[0], flag); in test__intel_cqm_count_nmi_context()
Drdpmc.c116 fd = sys_perf_event_open(&attr, 0, -1, -1, in __test__rdpmc()
/tools/perf/
Dperf-sys.h23 sys_perf_event_open(struct perf_event_attr *attr, in sys_perf_event_open() function
Ddesign.txt21 The special file descriptor is opened via the sys_perf_event_open()
24 int sys_perf_event_open(struct perf_event_attr *hw_event_uptr,
96 * parameter of the sys_perf_event_open() syscall:
237 The 'pid' parameter to the sys_perf_event_open() system call allows the
267 is created first, with group_fd = -1 in the sys_perf_event_open call
Dbuiltin-sched.c570 fd = sys_perf_event_open(&attr, 0, -1, -1, in self_open_counters()
/tools/perf/tests/attr/
DREADME5 sys_perf_event_open function.
16 This is the sys_perf_event_open hook implementation. The hook
21 For each sys_perf_event_open call event details are stored in
/tools/perf/lib/
Devsel.c59 sys_perf_event_open(struct perf_event_attr *attr, in sys_perf_event_open() function
103 fd = sys_perf_event_open(&evsel->attr, in perf_evsel__open()
/tools/perf/tests/
Dbp_signal_overflow.c96 fd = sys_perf_event_open(&pe, 0, -1, -1, in test__bp_signal_overflow()
Dbp_account.c52 fd = sys_perf_event_open(attr, -1, 0, -1, in __event()
Dbp_signal.c124 fd = sys_perf_event_open(&pe, 0, -1, -1, in __event()
Dwp.c57 fd = sys_perf_event_open(&attr, 0, -1, -1, in __event()
/tools/perf/Documentation/
Dintel-pt.txt240 sys_perf_event_open: pid 31104 cpu 0 group_fd -1 flags 0x8
241 sys_perf_event_open: pid 31104 cpu 1 group_fd -1 flags 0x8
242 sys_perf_event_open: pid 31104 cpu 2 group_fd -1 flags 0x8
243 sys_perf_event_open: pid 31104 cpu 3 group_fd -1 flags 0x8
670 sys_perf_event_open: pid 31104 cpu 0 group_fd -1 flags 0x8
671 sys_perf_event_open: pid 31104 cpu 1 group_fd -1 flags 0x8
672 sys_perf_event_open: pid 31104 cpu 2 group_fd -1 flags 0x8
673 sys_perf_event_open: pid 31104 cpu 3 group_fd -1 flags 0x8
686 sys_perf_event_open: pid -1 cpu 0 group_fd -1 flags 0x8
687 sys_perf_event_open: pid -1 cpu 1 group_fd -1 flags 0x8
[all …]
/tools/perf/arch/x86/util/
Dperf_regs.c295 fd = sys_perf_event_open(&attr, 0, -1, -1, 0); in arch__intr_reg_mask()
/tools/perf/bench/
Dmem-functions.c73 cycles_fd = sys_perf_event_open(&cycle_attr, getpid(), -1, -1, perf_event_open_cloexec_flag()); in init_cycles()
/tools/perf/arch/s390/entry/syscalls/
Dsyscall.tbl341 331 common perf_event_open sys_perf_event_open compat_sys_perf_event_open
/tools/include/uapi/asm-generic/
Dunistd.h691 __SYSCALL(__NR_perf_event_open, sys_perf_event_open)
/tools/perf/arch/powerpc/entry/syscalls/
Dsyscall.tbl410 319 common perf_event_open sys_perf_event_open