/external/ltp/testcases/kernel/syscalls/perf_event_open/ |
D | perf_event_open02.c | 149 struct perf_event_attr hw_event; in count_hardware_counters() local 154 memset(&hw_event, 0, sizeof(struct perf_event_attr)); in count_hardware_counters() 156 hw_event.type = PERF_TYPE_HARDWARE; in count_hardware_counters() 157 hw_event.size = sizeof(struct perf_event_attr); in count_hardware_counters() 158 hw_event.disabled = 1; in count_hardware_counters() 159 hw_event.config = PERF_COUNT_HW_INSTRUCTIONS; in count_hardware_counters() 160 hw_event.read_format = PERF_FORMAT_TOTAL_TIME_ENABLED | in count_hardware_counters() 164 fdarry[i] = perf_event_open(&hw_event, 0, -1, -1, 0); in count_hardware_counters() 231 struct perf_event_attr tsk_event, hw_event; in setup() local 263 memset(&hw_event, 0, sizeof(struct perf_event_attr)); in setup() [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/OpenCSD/decoder/include/opencsd/stm/ |
D | trc_cmp_cfg_stm.h | 97 m_cfg.hw_event = HwEvent_Unknown_Disabled; // default to not present / disabled. in STMConfig() 104 setHWTraceFeat(m_cfg.hw_event); in STMConfig() 110 setHWTraceFeat(p_cfg->hw_event); 123 m_cfg.hw_event = hw_feat; in setHWTraceFeat() 124 m_bHWTraceEn = (m_cfg.hw_event == HwEvent_Enabled); in setHWTraceFeat() 125 if(m_cfg.hw_event == HwEvent_UseRegisters) in setHWTraceFeat()
|
D | trc_pkt_types_stm.h | 150 hw_event_feat_t hw_event; /**< status of HW event trace */ member
|
/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 | 194 static long perf_event_open(struct perf_event_attr *hw_event, pid_t pid, in perf_event_open() argument 197 return syscall(__NR_perf_event_open, hw_event, pid, cpu, in perf_event_open()
|
/external/ltp/testcases/cve/ |
D | cve-2015-3290.c | 303 static int perf_event_open(struct perf_event_attr *hw_event, pid_t pid, in perf_event_open() argument 308 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()
|
/external/OpenCSD/decoder/tests/source/ |
D | c_api_pkt_print_test.c | 734 trace_config_stm.hw_event = HwEvent_Unknown_Disabled; in create_decoder_stm()
|