Re: [PATCH net-next 0/6] perf, bpf: add support for bpf in sw/hw perf_events
On Mon, Aug 29, 2016 at 5:19 AM, Peter Zijlstrawrote: > > On Fri, Aug 26, 2016 at 07:31:18PM -0700, Alexei Starovoitov wrote: > > Hi Peter, Dave, > > > > this patch set is a follow up to the discussion: > > https://lkml.org/lkml/2016/8/4/304 > > It turned out to be simpler than what we discussed. > > > > Patches 1-3 is a 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 tests/examples from myself and Brendan. > > Brendan, so this works for you without extra hacks required? Yes, thanks for checking, I've done both IP and stack sampling so far with it. Brendan
Re: [PATCH net-next 0/6] perf, bpf: add support for bpf in sw/hw perf_events
On Mon, Aug 29, 2016 at 12:58:00PM +0200, Peter Zijlstra wrote: > On Fri, Aug 26, 2016 at 07:31:18PM -0700, Alexei Starovoitov wrote: > > Hi Peter, Dave, > > > > this patch set is a follow up to the discussion: > > https://lkml.org/lkml/2016/8/4/304 > > Please don't use lkml.org links, that site is broken too often. > > The canonical reference is: > > https://lkml.kernel.org/r/$MSGID > > That allows the kernel.org people to ensure the links stays valid by > redirecting to a functional archive if the current one (marc.info) were > to drop off the intarweb. > > Also, by including the msg-id, people can find the emails in their local > archives. Makes sense though I couldn't figure out how to find that msg-id. This one https://lkml.kernel.org/r/20160804142853.GO6862%20()%20twins%20!%20programming%20!%20kicks-ass%20!%20net works, but really ugly.
Re: [PATCH net-next 0/6] perf, bpf: add support for bpf in sw/hw perf_events
On Fri, Aug 26, 2016 at 07:31:18PM -0700, Alexei Starovoitov wrote: > Hi Peter, Dave, > > this patch set is a follow up to the discussion: > https://lkml.org/lkml/2016/8/4/304 > It turned out to be simpler than what we discussed. > > Patches 1-3 is a 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 tests/examples from myself and Brendan. Brendan, so this works for you without extra hacks required?
Re: [PATCH net-next 0/6] perf, bpf: add support for bpf in sw/hw perf_events
On Fri, Aug 26, 2016 at 07:31:18PM -0700, Alexei Starovoitov wrote: > Hi Peter, Dave, > > this patch set is a follow up to the discussion: > https://lkml.org/lkml/2016/8/4/304 Please don't use lkml.org links, that site is broken too often. The canonical reference is: https://lkml.kernel.org/r/$MSGID That allows the kernel.org people to ensure the links stays valid by redirecting to a functional archive if the current one (marc.info) were to drop off the intarweb. Also, by including the msg-id, people can find the emails in their local archives.