diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-12-08 13:35:37 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-11 09:45:47 -0500 |
commit | dfa7c899b401d7dc5d85aca416aee64ac82812f2 (patch) | |
tree | 496b0fee69989fd4127905a888de7135a7969e9e /include | |
parent | eab656ae04b9d3b83265e3db01c0d2c46b748ef7 (diff) |
perf counters: expand use of counter->event
Impact: change syscall, cleanup
Make use of the new perf_counters event type.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/perf_counter.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index daedd7d87c2a..1f0017673e77 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h | |||
@@ -96,8 +96,7 @@ struct perf_counter { | |||
96 | #else | 96 | #else |
97 | atomic_t count32[2]; | 97 | atomic_t count32[2]; |
98 | #endif | 98 | #endif |
99 | u64 __irq_period; | 99 | struct perf_counter_event event; |
100 | |||
101 | struct hw_perf_counter hw; | 100 | struct hw_perf_counter hw; |
102 | 101 | ||
103 | struct perf_counter_context *ctx; | 102 | struct perf_counter_context *ctx; |
@@ -111,7 +110,6 @@ struct perf_counter { | |||
111 | int oncpu; | 110 | int oncpu; |
112 | int cpu; | 111 | int cpu; |
113 | 112 | ||
114 | s32 hw_event_type; | ||
115 | enum perf_record_type record_type; | 113 | enum perf_record_type record_type; |
116 | 114 | ||
117 | /* read() / irq related data */ | 115 | /* read() / irq related data */ |