Re: [PATCH net-next 1/2] perf, bpf: add support for HW_CACHE and RAW events

From: Peter Zijlstra
Date: Tue May 23 2017 - 03:43:02 EST


On Mon, May 22, 2017 at 03:48:39PM -0700, Alexei Starovoitov wrote:
> From: Teng Qin <qinteng@xxxxxx>
>
> This commit adds support for attach BPF program to RAW and HW_CACHE type
> events, and support for read HW_CACHE type event counters in BPF
> program. Existing code logic already supports them, so this commit is
> just update Enum value checks.

So what I'm missing is why they were not supported previously, and what
changed to allow it now.