aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_counter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r--include/linux/perf_counter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index 08c11a6afebc..065984c1ff57 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -53,6 +53,8 @@ enum hw_event_types {
53 PERF_COUNT_PAGE_FAULTS_MAJ = -7, 53 PERF_COUNT_PAGE_FAULTS_MAJ = -7,
54 54
55 PERF_SW_EVENTS_MIN = -8, 55 PERF_SW_EVENTS_MIN = -8,
56
57 PERF_TP_EVENTS_MIN = -65536
56}; 58};
57 59
58/* 60/*
@@ -222,6 +224,7 @@ struct perf_counter {
222 struct perf_data *usrdata; 224 struct perf_data *usrdata;
223 struct perf_data data[2]; 225 struct perf_data data[2];
224 226
227 void (*destroy)(struct perf_counter *);
225 struct rcu_head rcu_head; 228 struct rcu_head rcu_head;
226#endif 229#endif
227}; 230};