aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-12-08 19:35:37 +0100
committerIngo Molnar <mingo@elte.hu>2008-12-11 15:45:47 +0100
commitdfa7c899b401d7dc5d85aca416aee64ac82812f2 (patch)
tree496b0fee69989fd4127905a888de7135a7969e9e /include
parentperf counters: clean up 'raw' type API (diff)
downloadlinux-dev-dfa7c899b401d7dc5d85aca416aee64ac82812f2.tar.xz
linux-dev-dfa7c899b401d7dc5d85aca416aee64ac82812f2.zip
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.h4
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 {
#else
atomic_t count32[2];
#endif
- u64 __irq_period;
-
+ struct perf_counter_event event;
struct hw_perf_counter hw;
struct perf_counter_context *ctx;
@@ -111,7 +110,6 @@ struct perf_counter {
int oncpu;
int cpu;
- s32 hw_event_type;
enum perf_record_type record_type;
/* read() / irq related data */