Searched refs:hw_event (Results 1 – 7 of 7) sorted by relevance
/external/ltp/testcases/kernel/syscalls/perf_event_open/ |
D | perf_event_open02.c | 118 static int perf_event_open(struct perf_event_attr *hw_event, pid_t pid, in perf_event_open() argument 123 ret = ltp_syscall(__NR_perf_event_open, hw_event, pid, cpu, in perf_event_open() 147 struct perf_event_attr hw_event; in count_hardware_counters() local 152 memset(&hw_event, 0, sizeof(struct perf_event_attr)); in count_hardware_counters() 154 hw_event.type = PERF_TYPE_HARDWARE; in count_hardware_counters() 155 hw_event.size = sizeof(struct perf_event_attr); in count_hardware_counters() 156 hw_event.disabled = 1; in count_hardware_counters() 157 hw_event.config = PERF_COUNT_HW_INSTRUCTIONS; in count_hardware_counters() 158 hw_event.read_format = PERF_FORMAT_TOTAL_TIME_ENABLED | in count_hardware_counters() 162 fdarry[i] = perf_event_open(&hw_event, 0, -1, -1, 0); in count_hardware_counters() [all …]
|
D | perf_event_open01.c | 121 static int perf_event_open(struct perf_event_attr *hw_event, pid_t pid, in perf_event_open() argument 126 ret = ltp_syscall(__NR_perf_event_open, hw_event, pid, cpu, in perf_event_open()
|
/external/tensorflow/tensorflow/core/platform/profile_utils/ |
D | android_armv7a_cpu_utils_helper.cc | 100 int AndroidArmV7ACpuUtilsHelper::OpenPerfEvent(perf_event_attr *const hw_event, in OpenPerfEvent() argument 105 syscall(__NR_perf_event_open, hw_event, pid, cpu, group_fd, flags); in OpenPerfEvent()
|
D | android_armv7a_cpu_utils_helper.h | 49 int OpenPerfEvent(perf_event_attr *const hw_event, const pid_t pid,
|
/external/linux-kselftest/tools/testing/selftests/powerpc/ |
D | utils.c | 174 static long perf_event_open(struct perf_event_attr *hw_event, pid_t pid, in perf_event_open() argument 177 return syscall(__NR_perf_event_open, hw_event, pid, cpu, in perf_event_open()
|
/external/ltp/testcases/cve/ |
D | cve-2015-3290.c | 324 static int perf_event_open(struct perf_event_attr *hw_event, pid_t pid, in perf_event_open() argument 329 ret = tst_syscall(__NR_perf_event_open, hw_event, pid, cpu, in perf_event_open()
|
/external/honggfuzz/linux/ |
D | perf.c | 111 struct perf_event_attr* hw_event, pid_t pid, int cpu, int group_fd, unsigned long flags) { in perf_event_open() argument 112 return syscall(__NR_perf_event_open, hw_event, (uintptr_t)pid, (uintptr_t)cpu, in perf_event_open()
|