aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-12-05 09:53:28 +0100
committerFrederic Weisbecker <fweisbec@gmail.com>2009-12-06 08:27:20 +0100
commitc0dfb2feb632537cf0a9d2ce3c29bcf5778fec59 (patch)
treebdfc8db6a7514f8075b9a5a7906e817e0a4139f0 /include
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>
Diffstat (limited to 'include')
-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 d2f2667430d..89098e35a03 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -567,7 +567,6 @@ struct perf_pending_entry {
struct perf_sample_data;
-typedef void (*perf_callback_t)(struct perf_event *, void *);
typedef void (*perf_overflow_handler_t)(struct perf_event *, int,
struct perf_sample_data *,
struct pt_regs *regs);
@@ -669,8 +668,6 @@ struct perf_event {
struct event_filter *filter;
#endif
- perf_callback_t callback;
-
#endif /* CONFIG_PERF_EVENTS */
};