Commit c0dfb2fe authored by Frederic Weisbecker's avatar Frederic Weisbecker

perf: Remove the "event" callback from perf events

As it is not used anymore and has been superseded by overflow_handler.
Signed-off-by: default avatarFrederic 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>
parent b326e956
...@@ -567,7 +567,6 @@ struct perf_pending_entry { ...@@ -567,7 +567,6 @@ struct perf_pending_entry {
struct perf_sample_data; struct perf_sample_data;
typedef void (*perf_callback_t)(struct perf_event *, void *);
typedef void (*perf_overflow_handler_t)(struct perf_event *, int, typedef void (*perf_overflow_handler_t)(struct perf_event *, int,
struct perf_sample_data *, struct perf_sample_data *,
struct pt_regs *regs); struct pt_regs *regs);
...@@ -669,8 +668,6 @@ struct perf_event { ...@@ -669,8 +668,6 @@ struct perf_event {
struct event_filter *filter; struct event_filter *filter;
#endif #endif
perf_callback_t callback;
#endif /* CONFIG_PERF_EVENTS */ #endif /* CONFIG_PERF_EVENTS */
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment