aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-12-05 03:53:28 -0500
committerFrederic Weisbecker <fweisbec@gmail.com>2009-12-06 02:27:20 -0500
commitc0dfb2feb632537cf0a9d2ce3c29bcf5778fec59 (patch)
treebdfc8db6a7514f8075b9a5a7906e817e0a4139f0
parentb326e9560a28fc3e950637ef51847ed8f05c1335 (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>
-rw-r--r--include/linux/perf_event.h3
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
568struct perf_sample_data; 568struct perf_sample_data;
569 569
570typedef void (*perf_callback_t)(struct perf_event *, void *);
571typedef void (*perf_overflow_handler_t)(struct perf_event *, int, 570typedef 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