Re: [PATCH 6/9] perf: Remove the "event" callback from perf events

From: Peter Zijlstra
Date: Sun Dec 06 2009 - 05:41:27 EST


On Sun, 2009-12-06 at 08:34 +0100, Frederic Weisbecker wrote:
> As it is not used anymore and has been superseded by overflow_handler.

Thanks!

> diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
> index d2f2667..89098e3 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 */
> };
>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/