Re: [PATCH v2 5/7] perf: Introduce address range filtering

From: Alexander Shishkin
Date: Sat Apr 30 2016 - 01:25:08 EST


Mathieu Poirier <mathieu.poirier@xxxxxxxxxx> writes:

> I see two things in this work:

[trimmed 700+ lines of context that had no purpose]

> 1) A framework to deal with filters described in user space.
> 2) An implementation for address filtering that will work for both
> Intel and ARM.
>
> This will work well for address filtering (for both PT and CS) but
> what happens when we want to introduce new filters? This is
> inevitable and some filters will be architecture agnostic while others
> architecture specific.

Haven't we been through this [1] already?

[1] http://marc.info/?l=linux-kernel&m=145013911827358

Regards,
--
Alex