/arch/s390/include/asm/ |
D | perf_event.h | 68 #define OVERFLOW_REG(hwc) ((hwc)->extra_reg.config) argument 69 #define SFB_ALLOC_REG(hwc) ((hwc)->extra_reg.alloc) argument 70 #define TEAR_REG(hwc) ((hwc)->last_tag) argument 71 #define SAMPL_RATE(hwc) ((hwc)->event_base) argument 72 #define SAMPL_FLAGS(hwc) ((hwc)->config_base) argument 73 #define SAMPL_DIAG_MODE(hwc) (SAMPL_FLAGS(hwc) & PERF_CPUM_SF_DIAG_MODE) argument 74 #define SDB_FULL_BLOCKS(hwc) (SAMPL_FLAGS(hwc) & PERF_CPUM_SF_FULL_BLOCKS) argument 75 #define SAMPLE_FREQ_MODE(hwc) (SAMPL_FLAGS(hwc) & PERF_CPUM_SF_FREQ_MODE) argument
|
/arch/riscv/kernel/ |
D | perf_event.c | 216 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_read() local 253 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_stop() local 269 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_start() local 300 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_add() local 331 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_del() local 387 struct hw_perf_event *hwc = &event->hw; in riscv_event_init() local
|
/arch/alpha/kernel/ |
D | perf_event.c | 253 struct hw_perf_event *hwc, int idx) in alpha_perf_event_set_period() 308 struct hw_perf_event *hwc, int idx, long ovf) in alpha_perf_event_update() 413 struct hw_perf_event *hwc = &pe->hw; in maybe_change_configuration() local 436 struct hw_perf_event *hwc = &event->hw; in alpha_pmu_add() local 488 struct hw_perf_event *hwc = &event->hw; in alpha_pmu_del() local 526 struct hw_perf_event *hwc = &event->hw; in alpha_pmu_read() local 534 struct hw_perf_event *hwc = &event->hw; in alpha_pmu_stop() local 554 struct hw_perf_event *hwc = &event->hw; in alpha_pmu_start() local 605 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local 810 struct hw_perf_event *hwc; in alpha_perf_event_irq_handler() local
|
/arch/sh/kernel/ |
D | perf_event.c | 103 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local 159 struct hw_perf_event *hwc, int idx) in sh_perf_event_update() 202 struct hw_perf_event *hwc = &event->hw; in sh_pmu_stop() local 220 struct hw_perf_event *hwc = &event->hw; in sh_pmu_start() local 247 struct hw_perf_event *hwc = &event->hw; in sh_pmu_add() local
|
/arch/x86/events/amd/ |
D | iommu.c | 208 struct hw_perf_event *hwc = &event->hw; in perf_iommu_event_init() local 240 struct hw_perf_event *hwc = &ev->hw; in perf_iommu_enable_event() local 270 struct hw_perf_event *hwc = &event->hw; in perf_iommu_disable_event() local 279 struct hw_perf_event *hwc = &event->hw; in perf_iommu_start() local 312 struct hw_perf_event *hwc = &event->hw; in perf_iommu_read() local 331 struct hw_perf_event *hwc = &event->hw; in perf_iommu_stop() local 367 struct hw_perf_event *hwc = &event->hw; in perf_iommu_del() local
|
D | core.c | 312 static inline unsigned int amd_get_event_code(struct hw_perf_event *hwc) in amd_get_event_code() 317 static inline bool amd_is_pair_event_code(struct hw_perf_event *hwc) in amd_is_pair_event_code() 349 static inline int amd_is_nb_event(struct hw_perf_event *hwc) in amd_is_nb_event() 442 struct hw_perf_event *hwc = &event->hw; in __amd_get_nb_event_constraints() local 808 struct hw_perf_event *hwc = &event->hw; in amd_get_event_constraints_f15h() local 883 struct hw_perf_event *hwc = &event->hw; in amd_get_event_constraints_f17h() local 894 struct hw_perf_event *hwc = &event->hw; in amd_put_event_constraints_f17h() local
|
D | power.c | 45 struct hw_perf_event *hwc = &event->hw; in event_update() local 89 struct hw_perf_event *hwc = &event->hw; in pmu_event_stop() local 108 struct hw_perf_event *hwc = &event->hw; in pmu_event_add() local
|
D | ibs.c | 105 perf_event_set_period(struct hw_perf_event *hwc, u64 min, u64 max, u64 *hw_period) in perf_event_set_period() 150 struct hw_perf_event *hwc = &event->hw; in perf_event_try_update() local 256 struct hw_perf_event *hwc = &event->hw; in perf_ibs_init() local 320 struct hw_perf_event *hwc, u64 *period) in perf_ibs_set_period() 377 struct hw_perf_event *hwc, u64 config) in perf_ibs_enable_event() 395 struct hw_perf_event *hwc, u64 config) in perf_ibs_disable_event() 412 struct hw_perf_event *hwc = &event->hw; in perf_ibs_start() local 443 struct hw_perf_event *hwc = &event->hw; in perf_ibs_stop() local 598 struct hw_perf_event *hwc; in perf_ibs_handle_irq() local
|
D | uncore.c | 84 struct hw_perf_event *hwc = &event->hw; in amd_uncore_read() local 103 struct hw_perf_event *hwc = &event->hw; in amd_uncore_start() local 115 struct hw_perf_event *hwc = &event->hw; in amd_uncore_stop() local 130 struct hw_perf_event *hwc = &event->hw; in amd_uncore_add() local 171 struct hw_perf_event *hwc = &event->hw; in amd_uncore_del() local 211 struct hw_perf_event *hwc = &event->hw; in amd_uncore_event_init() local
|
/arch/arm/kernel/ |
D | perf_event_xscale.c | 175 struct hw_perf_event *hwc; in xscale1pmu_handle_irq() local 208 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_enable_event() local 244 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_disable_event() local 278 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_get_event_idx() local 327 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_read_counter() local 348 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_write_counter() local 521 struct hw_perf_event *hwc; in xscale2pmu_handle_irq() local 554 struct hw_perf_event *hwc = &event->hw; in xscale2pmu_enable_event() local 600 struct hw_perf_event *hwc = &event->hw; in xscale2pmu_disable_event() local 690 struct hw_perf_event *hwc = &event->hw; in xscale2pmu_read_counter() local [all …]
|
D | perf_event_v6.c | 238 struct hw_perf_event *hwc = &event->hw; in armv6pmu_read_counter() local 256 struct hw_perf_event *hwc = &event->hw; in armv6pmu_write_counter() local 273 struct hw_perf_event *hwc = &event->hw; in armv6pmu_enable_event() local 328 struct hw_perf_event *hwc; in armv6pmu_handle_irq() local 391 struct hw_perf_event *hwc = &event->hw; in armv6pmu_get_event_idx() local 424 struct hw_perf_event *hwc = &event->hw; in armv6pmu_disable_event() local 459 struct hw_perf_event *hwc = &event->hw; in armv6mpcore_pmu_disable_event() local
|
D | perf_event_v7.c | 749 struct hw_perf_event *hwc = &event->hw; in armv7pmu_read_counter() local 769 struct hw_perf_event *hwc = &event->hw; in armv7pmu_write_counter() local 874 struct hw_perf_event *hwc = &event->hw; in armv7pmu_enable_event() local 920 struct hw_perf_event *hwc = &event->hw; in armv7pmu_disable_event() local 975 struct hw_perf_event *hwc; in armv7pmu_handle_irq() local 1037 struct hw_perf_event *hwc = &event->hw; in armv7pmu_get_event_idx() local 1496 struct hw_perf_event *hwc = &event->hw; in krait_pmu_disable_event() local 1522 struct hw_perf_event *hwc = &event->hw; in krait_pmu_enable_event() local 1584 struct hw_perf_event *hwc = &event->hw; in krait_event_to_bit() local 1611 struct hw_perf_event *hwc = &event->hw; in krait_pmu_get_event_idx() local [all …]
|
/arch/x86/events/intel/ |
D | p6.c | 161 struct hw_perf_event *hwc = &event->hw; in p6_pmu_disable_event() local 169 struct hw_perf_event *hwc = &event->hw; in p6_pmu_enable_event() local
|
D | uncore_discovery.c | 370 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_msr_enable_event() local 378 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_msr_disable_event() local 421 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_enable_event() local 430 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_disable_event() local 439 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_read_counter() local 512 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_mmio_enable_event() local 523 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_mmio_disable_event() local
|
D | p4.c | 856 static inline int p4_pmu_clear_cccr_ovf(struct hw_perf_event *hwc) in p4_pmu_clear_cccr_ovf() 906 struct hw_perf_event *hwc = &event->hw; in p4_pmu_disable_event() local 952 struct hw_perf_event *hwc = &event->hw; in __p4_pmu_enable_event() local 1014 struct hw_perf_event *hwc; in p4_pmu_handle_irq() local 1077 static void p4_pmu_swap_config_ts(struct hw_perf_event *hwc, int cpu) in p4_pmu_swap_config_ts() 1222 struct hw_perf_event *hwc; in p4_pmu_schedule_events() local
|
D | knc.c | 179 struct hw_perf_event *hwc = &event->hw; in knc_pmu_disable_event() local 190 struct hw_perf_event *hwc = &event->hw; in knc_pmu_enable_event() local
|
D | uncore_nhmex.c | 247 struct hw_perf_event *hwc = &event->hw; in nhmex_uncore_msr_enable_event() local 352 struct hw_perf_event *hwc = &event->hw; in nhmex_bbox_hw_config() local 379 struct hw_perf_event *hwc = &event->hw; in nhmex_bbox_msr_enable_event() local 443 struct hw_perf_event *hwc = &event->hw; in nhmex_sbox_hw_config() local 464 struct hw_perf_event *hwc = &event->hw; in nhmex_sbox_msr_enable_event() local 631 struct hw_perf_event *hwc = &event->hw; in nhmex_mbox_alter_er() local 837 struct hw_perf_event *hwc = &event->hw; in nhmex_mbox_msr_enable_event() local 946 struct hw_perf_event *hwc = &event->hw; in nhmex_rbox_alter_er() local 980 struct hw_perf_event *hwc = &event->hw; in nhmex_rbox_get_constraint() local 1088 struct hw_perf_event *hwc = &event->hw; in nhmex_rbox_hw_config() local [all …]
|
/arch/x86/events/zhaoxin/ |
D | core.c | 289 static void zhaoxin_pmu_disable_fixed(struct hw_perf_event *hwc) in zhaoxin_pmu_disable_fixed() 303 struct hw_perf_event *hwc = &event->hw; in zhaoxin_pmu_disable_event() local 313 static void zhaoxin_pmu_enable_fixed(struct hw_perf_event *hwc) in zhaoxin_pmu_enable_fixed() 340 struct hw_perf_event *hwc = &event->hw; in zhaoxin_pmu_enable_event() local
|
/arch/xtensa/kernel/ |
D | perf_event.c | 146 struct hw_perf_event *hwc, int idx) in xtensa_perf_event_update() 164 struct hw_perf_event *hwc, int idx) in xtensa_perf_event_set_period() 251 struct hw_perf_event *hwc = &event->hw; in xtensa_pmu_start() local 269 struct hw_perf_event *hwc = &event->hw; in xtensa_pmu_stop() local 293 struct hw_perf_event *hwc = &event->hw; in xtensa_pmu_add() local 377 struct hw_perf_event *hwc = &event->hw; in xtensa_pmu_irq_handler() local
|
/arch/arc/kernel/ |
D | perf_event.c | 119 struct hw_perf_event *hwc, int idx) in arc_perf_event_update() 169 struct hw_perf_event *hwc = &event->hw; in arc_pmu_event_init() local 245 struct hw_perf_event *hwc = &event->hw; in arc_pmu_event_set_period() local 291 struct hw_perf_event *hwc = &event->hw; in arc_pmu_start() local 316 struct hw_perf_event *hwc = &event->hw; in arc_pmu_stop() local 363 struct hw_perf_event *hwc = &event->hw; in arc_pmu_add() local 418 struct hw_perf_event *hwc; in arc_pmu_intr() local
|
/arch/nds32/kernel/ |
D | perf_event_cpu.c | 186 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_event_set_period() local 252 struct hw_perf_event *hwc; in nds32_pmu_handle_irq() local 416 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_enable_event() local 467 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_disable_event() local 498 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_read_counter() local 527 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_write_counter() local 555 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_get_event_idx() local 799 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local 891 struct hw_perf_event *hwc = &event->hw; in nds32_start() local 910 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_add() local [all …]
|
/arch/sh/kernel/cpu/sh4/ |
D | perf_event.c | 208 static void sh7750_pmu_disable(struct hw_perf_event *hwc, int idx) in sh7750_pmu_disable() 217 static void sh7750_pmu_enable(struct hw_perf_event *hwc, int idx) in sh7750_pmu_enable()
|
/arch/mips/kernel/ |
D | perf_event_mipsxx.c | 315 struct hw_perf_event *hwc) in mipsxx_pmu_alloc_counter() 410 struct hw_perf_event *hwc, in mipspmu_event_set_period() 450 struct hw_perf_event *hwc, in mipspmu_event_update() 472 struct hw_perf_event *hwc = &event->hw; in mipspmu_start() local 488 struct hw_perf_event *hwc = &event->hw; in mipspmu_stop() local 502 struct hw_perf_event *hwc = &event->hw; in mipspmu_add() local 538 struct hw_perf_event *hwc = &event->hw; in mipspmu_del() local 552 struct hw_perf_event *hwc = &event->hw; in mipspmu_read() local 787 struct hw_perf_event *hwc = &event->hw; in handle_associated_event() local 1540 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
|
/arch/s390/kernel/ |
D | perf_cpum_sf.c | 332 static unsigned long sfb_max_limit(struct hw_perf_event *hwc) in sfb_max_limit() 339 struct hw_perf_event *hwc) in sfb_pending_allocs() 349 struct hw_perf_event *hwc) in sfb_has_pending_allocs() 354 static void sfb_account_allocs(unsigned long num, struct hw_perf_event *hwc) in sfb_account_allocs() 362 static void sfb_init_allocs(unsigned long num, struct hw_perf_event *hwc) in sfb_init_allocs() 374 static int allocate_buffers(struct cpu_hw_sf *cpuhw, struct hw_perf_event *hwc) in allocate_buffers() 464 struct hw_perf_event *hwc) in sfb_account_overflows() 503 struct hw_perf_event *hwc) in extend_sampling_buffer() 614 static void hw_init_period(struct hw_perf_event *hwc, u64 period) in hw_init_period() 742 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init_rate() local [all …]
|
/arch/sh/kernel/cpu/sh4a/ |
D | perf_event.c | 232 static void sh4a_pmu_disable(struct hw_perf_event *hwc, int idx) in sh4a_pmu_disable() 241 static void sh4a_pmu_enable(struct hw_perf_event *hwc, int idx) in sh4a_pmu_enable()
|