Searched refs:counters (Results 1 – 18 of 18) sorted by relevance
/arch/mips/kernel/ |
D | perf_event_mipsxx.c | 144 static unsigned int counters_total_to_per_cpu(unsigned int counters) in counters_total_to_per_cpu() argument 146 return counters >> vpe_shift(); in counters_total_to_per_cpu() 815 int counters; in n_counters() local 819 counters = 2; in n_counters() 825 counters = 4; in n_counters() 829 counters = __n_counters(); in n_counters() 832 return counters; in n_counters() 837 int counters = (int)(long)arg; in loongson3_reset_counters() local 839 switch (counters) { in loongson3_reset_counters() 909 int counters = (int)(long)arg; in reset_counters() local [all …]
|
/arch/loongarch/kernel/ |
D | perf_event.c | 664 int counters = loongarch_pmu.num_counters; in reset_counters() local 666 for (n = 0; n < counters; n++) { in reset_counters() 859 int counters; in init_hw_perf_events() local 865 counters = ((read_cpucfg(LOONGARCH_CPUCFG6) & CPUCFG6_PMNUM) >> 4) + 1; in init_hw_perf_events() 867 loongarch_pmu.num_counters = counters; in init_hw_perf_events() 881 loongarch_pmu.name, counters, 64); in init_hw_perf_events()
|
/arch/mips/kvm/ |
D | Kconfig | 35 bool "Maintain counters for COP0 accesses"
|
/arch/x86/kvm/vmx/ |
D | pmu_intel.c | 144 struct kvm_pmc *counters; in intel_rdpmc_ecx_to_pmc() local 149 counters = pmu->fixed_counters; in intel_rdpmc_ecx_to_pmc() 152 counters = pmu->gp_counters; in intel_rdpmc_ecx_to_pmc() 158 return &counters[array_index_nospec(idx, num_counters)]; in intel_rdpmc_ecx_to_pmc()
|
/arch/x86/include/asm/xen/ |
D | interface.h | 263 uint32_t counters; member
|
/arch/powerpc/boot/dts/ |
D | a4m072.dts | 35 fsl,init-fd-counters = <0x3333>;
|
/arch/x86/xen/ |
D | pmu.c | 284 counter_regs = field_offset(ctxt, counters); in xen_amd_pmu_emulate() 366 counter_regs = field_offset(ctxt, counters); in xen_amd_read_pmc()
|
/arch/powerpc/platforms/pseries/ |
D | Kconfig | 136 Enable access to hypervisor supplied counters in perf. Currently, 138 interfaces to retrieve counters. GPCI exists on Power 6 and later
|
/arch/mips/include/asm/mach-cavium-octeon/ |
D | kernel-entry-init.h | 41 # counters interrupt to IRQ 6
|
/arch/s390/kvm/ |
D | interrupt.c | 1059 fi->counters[FIRQ_CNTR_PFAULT] -= 1; in __deliver_pfault_done() 1109 fi->counters[FIRQ_CNTR_VIRTIO] -= 1; in __deliver_virtio() 1197 fi->counters[FIRQ_CNTR_IO] -= 1; in __deliver_io() 1724 fi->counters[FIRQ_CNTR_IO] -= 1; in get_io_int() 1857 if (fi->counters[FIRQ_CNTR_VIRTIO] >= KVM_S390_MAX_VIRTIO_IRQS) { in __inject_virtio() 1861 fi->counters[FIRQ_CNTR_VIRTIO] += 1; in __inject_virtio() 1875 if (fi->counters[FIRQ_CNTR_PFAULT] >= in __inject_pfault_done() 1880 fi->counters[FIRQ_CNTR_PFAULT] += 1; in __inject_pfault_done() 1928 if (fi->counters[FIRQ_CNTR_IO] >= KVM_S390_MAX_FLOAT_IRQS) { in __inject_io() 1932 fi->counters[FIRQ_CNTR_IO] += 1; in __inject_io() [all …]
|
/arch/arm/mach-at91/ |
D | Kconfig | 163 On platforms with 16-bit counters, two timer channels are combined
|
/arch/m68k/fpsp040/ |
D | skeleton.S | 48 | The following counters are used for standalone testing
|
/arch/s390/kernel/ |
D | perf_cpum_cf.c | 539 static void cfdiag_diffctrset(u64 *pstart, u64 *pstop, int counters) in cfdiag_diffctrset() argument 541 for (; --counters >= 0; ++pstart, ++pstop) in cfdiag_diffctrset()
|
/arch/powerpc/crypto/ |
D | chacha-p10le-8x.S | 612 # create (0, 1, 2, 3) counters
|
/arch/parisc/kernel/ |
D | perf_asm.S | 28 ; Enable the performance counters
|
/arch/s390/include/asm/ |
D | kvm_host.h | 683 int counters[FIRQ_MAX_COUNT]; member
|
/arch/x86/ |
D | Kconfig | 1092 performance counters), and the NMI watchdog which detects hard 2504 Enable call/ret counters for imbalance detection and build in
|
/arch/arm64/ |
D | Kconfig | 1024 is the same to firmware disabling affected counters.
|