We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87195a1 commit 79390dbCopy full SHA for 79390db
arch/x86/events/perf_event.h
@@ -674,19 +674,17 @@ enum hybrid_cpu_type {
674
HYBRID_INTEL_CORE = 0x40,
675
};
676
677
+#define X86_HYBRID_PMU_ATOM_IDX 0
678
+#define X86_HYBRID_PMU_CORE_IDX 1
679
+
680
enum hybrid_pmu_type {
681
not_hybrid,
- hybrid_small = BIT(0),
- hybrid_big = BIT(1),
682
+ hybrid_small = BIT(X86_HYBRID_PMU_ATOM_IDX),
683
+ hybrid_big = BIT(X86_HYBRID_PMU_CORE_IDX),
684
685
hybrid_big_small = hybrid_big | hybrid_small, /* only used for matching */
686
687
-#define X86_HYBRID_PMU_ATOM_IDX 0
-#define X86_HYBRID_PMU_CORE_IDX 1
-
688
-#define X86_HYBRID_NUM_PMUS 2
689
690
struct x86_hybrid_pmu {
691
struct pmu pmu;
692
const char *name;
0 commit comments