aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-06-11 08:57:55 -0400
committerIngo Molnar <mingo@elte.hu>2009-06-11 11:54:45 -0400
commitcca3f454a85ff42d426401bce7ac804541b2bd03 (patch)
tree743b60d71cd4babb65619556db4101595a5fc18b /include
parenta308444ceb576d3089f9ca0dfd097eba6f1e623f (diff)
perf_counter: Add counter->id to the throttle event
So as to be able to distuinguish between multiple counters. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/linux/perf_counter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index 1fa1a26cb1b3..6e133954e2e4 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -286,6 +286,7 @@ enum perf_event_type {
286 * struct { 286 * struct {
287 * struct perf_event_header header; 287 * struct perf_event_header header;
288 * u64 time; 288 * u64 time;
289 * u64 id;
289 * }; 290 * };
290 */ 291 */
291 PERF_EVENT_THROTTLE = 5, 292 PERF_EVENT_THROTTLE = 5,