diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-12-05 03:53:28 -0500 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-12-06 02:27:20 -0500 |
commit | c0dfb2feb632537cf0a9d2ce3c29bcf5778fec59 (patch) | |
tree | bdfc8db6a7514f8075b9a5a7906e817e0a4139f0 /include/linux/perf_event.h | |
parent | b326e9560a28fc3e950637ef51847ed8f05c1335 (diff) |
perf: Remove the "event" callback from perf events
As it is not used anymore and has been superseded by overflow_handler.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: "K. Prasad" <prasad@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/perf_event.h')
-rw-r--r-- | include/linux/perf_event.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index d2f2667430da..89098e35a036 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h | |||
@@ -567,7 +567,6 @@ struct perf_pending_entry { | |||
567 | 567 | ||
568 | struct perf_sample_data; | 568 | struct perf_sample_data; |
569 | 569 | ||
570 | typedef void (*perf_callback_t)(struct perf_event *, void *); | ||
571 | typedef void (*perf_overflow_handler_t)(struct perf_event *, int, | 570 | typedef void (*perf_overflow_handler_t)(struct perf_event *, int, |
572 | struct perf_sample_data *, | 571 | struct perf_sample_data *, |
573 | struct pt_regs *regs); | 572 | struct pt_regs *regs); |
@@ -669,8 +668,6 @@ struct perf_event { | |||
669 | struct event_filter *filter; | 668 | struct event_filter *filter; |
670 | #endif | 669 | #endif |
671 | 670 | ||
672 | perf_callback_t callback; | ||
673 | |||
674 | #endif /* CONFIG_PERF_EVENTS */ | 671 | #endif /* CONFIG_PERF_EVENTS */ |
675 | }; | 672 | }; |
676 | 673 | ||