Home
last modified time | relevance | path

Searched refs:X86_PMC_IDX_FIXED (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/arch/x86/include/asm/
Dperf_event.h12 #define X86_PMC_IDX_FIXED 32 macro
94 #define X86_PMC_IDX_FIXED_INSTRUCTIONS (X86_PMC_IDX_FIXED + 0)
98 #define X86_PMC_IDX_FIXED_CPU_CYCLES (X86_PMC_IDX_FIXED + 1)
102 #define X86_PMC_IDX_FIXED_BUS_CYCLES (X86_PMC_IDX_FIXED + 2)
111 #define X86_PMC_IDX_FIXED_BTS (X86_PMC_IDX_FIXED + 16)
/linux-2.6.39/arch/x86/kernel/cpu/
Dperf_event.c922 } else if (hwc->idx >= X86_PMC_IDX_FIXED) { in x86_assign_hw_event()
924 hwc->event_base = MSR_ARCH_PERFMON_FIXED_CTR0 + (hwc->idx - X86_PMC_IDX_FIXED); in x86_assign_hw_event()
1536 ((1LL << x86_pmu.num_counters_fixed)-1) << X86_PMC_IDX_FIXED; in init_hw_perf_events()
Dperf_event_intel.c816 int idx = hwc->idx - X86_PMC_IDX_FIXED; in intel_pmu_disable_fixed()
849 int idx = hwc->idx - X86_PMC_IDX_FIXED; in intel_pmu_enable_fixed()