hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/powerpc/perf/hv-gpci-requests.h
....@@ -79,6 +79,7 @@
7979 )
8080 #include I(REQUEST_END)
8181
82
+#ifdef ENABLE_EVENTS_COUNTERINFO_V6
8283 /*
8384 * Not available for counter_info_version >= 0x8, use
8485 * run_instruction_cycles_by_partition(0x100) instead.
....@@ -92,6 +93,7 @@
9293 __count(0x10, 8, cycles)
9394 )
9495 #include I(REQUEST_END)
96
+#endif
9597
9698 #define REQUEST_NAME system_performance_capabilities
9799 #define REQUEST_NUM 0x40
....@@ -103,6 +105,7 @@
103105 )
104106 #include I(REQUEST_END)
105107
108
+#ifdef ENABLE_EVENTS_COUNTERINFO_V6
106109 #define REQUEST_NAME processor_bus_utilization_abc_links
107110 #define REQUEST_NUM 0x50
108111 #define REQUEST_IDX_KIND "hw_chip_id=?"
....@@ -194,6 +197,7 @@
194197 __count(0x28, 8, instructions_completed)
195198 )
196199 #include I(REQUEST_END)
200
+#endif
197201
198202 /* Processor_core_power_mode (0x95) skipped, no counters */
199203 /* Affinity_domain_information_by_virtual_processor (0xA0) skipped,