Skip to content

Commit

Permalink
perf: Remove the "event" callback from perf events
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Frederic Weisbecker committed Dec 6, 2009
1 parent b326e95 commit c0dfb2f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/linux/perf_event.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -669,8 +668,6 @@ struct perf_event {
struct event_filter *filter;
#endif

perf_callback_t callback;

#endif /* CONFIG_PERF_EVENTS */
};

Expand Down

0 comments on commit c0dfb2f

Please sign in to comment.