Searched refs:hw_event (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.10/drivers/perf/ |
D | arm-cci.c | 334 static int cci400_validate_hw_event(struct cci_pmu *cci_pmu, unsigned long hw_event) in cci400_validate_hw_event() argument 336 u8 ev_source = CCI400_PMU_EVENT_SOURCE(hw_event); in cci400_validate_hw_event() 337 u8 ev_code = CCI400_PMU_EVENT_CODE(hw_event); in cci400_validate_hw_event() 340 if (hw_event & ~CCI400_PMU_EVENT_MASK) in cci400_validate_hw_event() 343 if (hw_event == CCI400_PMU_CYCLES) in cci400_validate_hw_event() 344 return hw_event; in cci400_validate_hw_event() 367 return hw_event; in cci400_validate_hw_event() 542 unsigned long hw_event) in cci500_validate_hw_event() argument 544 u32 ev_source = CCI5xx_PMU_EVENT_SOURCE(hw_event); in cci500_validate_hw_event() 545 u32 ev_code = CCI5xx_PMU_EVENT_CODE(hw_event); in cci500_validate_hw_event() [all …]
|
/Linux-v5.10/arch/x86/events/intel/ |
D | p6.c | 114 static u64 p6_pmu_event_map(int hw_event) in p6_pmu_event_map() argument 116 return p6_perfmon_event_map[hw_event]; in p6_pmu_event_map()
|
D | knc.c | 120 static u64 knc_pmu_event_map(int hw_event) in knc_pmu_event_map() argument 122 return knc_perfmon_event_map[hw_event]; in knc_pmu_event_map()
|
D | p4.c | 716 static u64 p4_pmu_event_map(int hw_event) in p4_pmu_event_map() argument 722 config = p4_general_events[hw_event]; in p4_pmu_event_map()
|
D | core.c | 381 static u64 intel_pmu_event_map(int hw_event) in intel_pmu_event_map() argument 383 return intel_perfmon_event_map[hw_event]; in intel_pmu_event_map()
|
/Linux-v5.10/tools/testing/selftests/powerpc/ |
D | utils.c | 206 static long perf_event_open(struct perf_event_attr *hw_event, pid_t pid, in perf_event_open() argument 209 return syscall(__NR_perf_event_open, hw_event, pid, cpu, in perf_event_open()
|
/Linux-v5.10/tools/testing/selftests/resctrl/ |
D | resctrl.h | 85 int perf_event_open(struct perf_event_attr *hw_event, pid_t pid, int cpu,
|
D | resctrlfs.c | 702 int perf_event_open(struct perf_event_attr *hw_event, pid_t pid, int cpu, in perf_event_open() argument 707 ret = syscall(__NR_perf_event_open, hw_event, pid, cpu, in perf_event_open()
|
/Linux-v5.10/arch/x86/events/amd/ |
D | core.c | 260 static u64 amd_pmu_event_map(int hw_event) in amd_pmu_event_map() argument 263 return amd_f17h_perfmon_event_map[hw_event]; in amd_pmu_event_map() 265 return amd_perfmon_event_map[hw_event]; in amd_pmu_event_map()
|
/Linux-v5.10/arch/x86/events/zhaoxin/ |
D | core.c | 416 static u64 zhaoxin_pmu_event_map(int hw_event) in zhaoxin_pmu_event_map() argument 418 return zx_pmon_event_map[hw_event]; in zhaoxin_pmu_event_map()
|
/Linux-v5.10/arch/x86/events/ |
D | perf_event.h | 1086 unsigned int hw_event, bts_event; in intel_pmu_has_bts_period() local 1091 hw_event = hwc->config & INTEL_ARCH_EVENT_MASK; in intel_pmu_has_bts_period() 1094 return hw_event == bts_event && period == 1; in intel_pmu_has_bts_period()
|
/Linux-v5.10/tools/perf/ |
D | design.txt | 95 * Generalized performance counter event types, used by the hw_event.event_id 121 in a 0x4064 event_id value and set hw_event.raw_type to 1. 160 * Bits that can be set in hw_event.read_format to request that 180 * Bits that can be set in hw_event.record_type to request information
|