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

2016-09-02 Thread David Miller
From: Alexei Starovoitov Date: Thu, 1 Sep 2016 18:37:20 -0700 > 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

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

2016-09-02 Thread Peter Zijlstra
On Thu, Sep 01, 2016 at 06:37:20PM -0700, Alexei Starovoitov wrote: > Peter, > to implement your suggestion to add ifdef CONFIG_BPF_SYSCALL > inside struct perf_event, I had to shuffle ifdefs in events/core.c > Please double check whether that is what you wanted to see. Looks fine, Thanks!

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

2016-09-01 Thread Alexei Starovoitov
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