Re: [PATCH v1 4/5] perf: Introduce address range filtering
From: Peter Zijlstra
Date: Mon Apr 25 2016 - 08:57:26 EST
On Fri, Apr 22, 2016 at 07:19:11PM +0300, Alexander Shishkin wrote:
> diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
> index b717902c99..4f968d6b96 100644
> --- a/include/linux/perf_event.h
> +++ b/include/linux/perf_event.h
> @@ -151,6 +151,15 @@ struct hw_perf_event {
> */
> struct task_struct *target;
>
> + /*
> + * PMU would store hardware filter configuration
> + * here.
> + */
> + void *addr_filters;
> +
> + /* Last sync'ed generation of filters */
> + unsigned long addr_filters_gen;
> +
should these not go in the itrace struct?
/me continues reading