Re: [PATCH v2 net-next 0/6] perf, bpf: add support for bpf in sw/hw perf_events

From: Brendan Gregg
Date: Wed Aug 31 2016 - 20:19:13 EST


On Wed, Aug 31, 2016 at 2:50 PM, Alexei Starovoitov <ast@xxxxxx> wrote:
> Hi Peter, Dave,
>
> this patch set is a follow up to the discussion:
> https://lkml.kernel.org/r/20160804142853.GO6862%20()%20twins%20!%20programming%20!%20kicks-ass%20!%20net
> It turned out to be simpler than what we discussed.
>
> Patches 1-3 is bpf-side prep for the main patch 4
> that adds bpf program as an overflow_handler to sw and hw perf_events.
> Peter, please review.
>
> Patches 5 and 6 are examples from myself and Brendan.
>
> v1-v2: fixed issues spotted by Peter and Daniel.

Thanks Alexei!

Tested-by: Brendan Gregg <bgregg@xxxxxxxxxxx>

Brendan