/openbmc/linux/drivers/perf/ |
H A D | arm-cci.c | 334 u8 ev_code = CCI400_PMU_EVENT_CODE(hw_event); in cci400_validate_hw_event() 337 if (hw_event & ~CCI400_PMU_EVENT_MASK) in cci400_validate_hw_event() 340 if (hw_event == CCI400_PMU_CYCLES) in cci400_validate_hw_event() 341 return hw_event; in cci400_validate_hw_event() 364 return hw_event; in cci400_validate_hw_event() 539 unsigned long hw_event) in cci500_validate_hw_event() argument 545 if (hw_event & ~CCI5xx_PMU_EVENT_MASK) in cci500_validate_hw_event() 575 return hw_event; in cci500_validate_hw_event() 590 unsigned long hw_event) in cci550_validate_hw_event() argument 596 if (hw_event & ~CCI5xx_PMU_EVENT_MASK) in cci550_validate_hw_event() [all …]
|
/openbmc/linux/arch/x86/events/intel/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A D | core.c | 471 static u64 intel_pmu_event_map(int hw_event) in intel_pmu_event_map() argument 473 return intel_perfmon_event_map[hw_event]; in intel_pmu_event_map()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | perf_event.h | 548 extern u64 perf_get_hw_event_config(int hw_event); 558 static inline u64 perf_get_hw_event_config(int hw_event) in perf_get_hw_event_config() argument
|
/openbmc/linux/tools/testing/selftests/resctrl/ |
H A D | resctrl.h | 92 int perf_event_open(struct perf_event_attr *hw_event, pid_t pid, int cpu,
|
H A D | resctrlfs.c | 660 int perf_event_open(struct perf_event_attr *hw_event, pid_t pid, int cpu, in perf_event_open() argument 665 ret = syscall(__NR_perf_event_open, hw_event, pid, cpu, in perf_event_open()
|
/openbmc/linux/arch/x86/events/amd/ |
H A D | core.c | 276 static u64 amd_pmu_event_map(int hw_event) in amd_pmu_event_map() argument 279 return amd_zen2_perfmon_event_map[hw_event]; in amd_pmu_event_map() 282 return amd_zen1_perfmon_event_map[hw_event]; in amd_pmu_event_map() 284 return amd_perfmon_event_map[hw_event]; in amd_pmu_event_map()
|
/openbmc/linux/tools/testing/selftests/powerpc/ |
H A D | utils.c | 523 static long perf_event_open(struct perf_event_attr *hw_event, pid_t pid, in perf_event_open() argument 526 return syscall(__NR_perf_event_open, hw_event, pid, cpu, in perf_event_open()
|
/openbmc/linux/arch/x86/events/zhaoxin/ |
H A 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()
|
/openbmc/linux/tools/perf/ |
H A D | design.txt | 95 * Generalized performance counter event types, used by the hw_event.event_id 124 in a 0x4064 event_id value and set hw_event.raw_type to 1. 163 * Bits that can be set in hw_event.read_format to request that 183 * Bits that can be set in hw_event.record_type to request information
|
/openbmc/linux/arch/x86/events/ |
H A D | perf_event.h | 1423 unsigned int hw_event, bts_event; in intel_pmu_has_bts_period() local 1428 hw_event = hwc->config & INTEL_ARCH_EVENT_MASK; in intel_pmu_has_bts_period() 1431 return hw_event == bts_event && period == 1; in intel_pmu_has_bts_period()
|
H A D | core.c | 3062 u64 perf_get_hw_event_config(int hw_event) in perf_get_hw_event_config() argument 3066 if (hw_event < max) in perf_get_hw_event_config() 3067 return x86_pmu.event_map(array_index_nospec(hw_event, max)); in perf_get_hw_event_config()
|
/openbmc/linux/tools/power/x86/turbostat/ |
H A D | turbostat.c | 658 static long perf_event_open(struct perf_event_attr *hw_event, pid_t pid, int cpu, int group_fd, uns… in perf_event_open() argument 660 return syscall(__NR_perf_event_open, hw_event, pid, cpu, group_fd, flags); in perf_event_open()
|