|
|
@@ -166,6 +166,11 @@ struct perf_event;
|
|
|
*/
|
|
|
#define PERF_EVENT_TXN 0x1
|
|
|
|
|
|
+/**
|
|
|
+ * pmu::capabilities flags
|
|
|
+ */
|
|
|
+#define PERF_PMU_CAP_NO_INTERRUPT 0x01
|
|
|
+
|
|
|
/**
|
|
|
* struct pmu - generic performance monitoring unit
|
|
|
*/
|
|
|
@@ -178,6 +183,11 @@ struct pmu {
|
|
|
const char *name;
|
|
|
int type;
|
|
|
|
|
|
+ /*
|
|
|
+ * various common per-pmu feature flags
|
|
|
+ */
|
|
|
+ int capabilities;
|
|
|
+
|
|
|
int * __percpu pmu_disable_count;
|
|
|
struct perf_cpu_context * __percpu pmu_cpu_context;
|
|
|
int task_ctx_nr;
|