Re: [PATCH bpf-next 0/5] bpf, tracing: introduce bpf raw tracepoints

From
Peter Zijlstra <peterz@infradead.org>
Date
2018-03-06 10:35:44
Also in
lkml, netdev
Reply to
Daniel Borkmann, 2018-03-05
On Mon, Mar 05, 2018 at 02:36:07PM +0100, Daniel Borkmann wrote:
On 03/01/2018 05:19 AM, Alexei Starovoitov wrote:
quoted
This patch set is a different way to address the pressing need to access
task_struct pointers in sched tracepoints from bpf programs.

The first approach simply added these pointers to sched tracepoints:
https://lkml.org/lkml/2017/12/14/753
which Peter nacked.
Few options were discussed and eventually the discussion converged on
doing bpf specific tracepoint_probe_register() probe functions.
Details here:
https://lkml.org/lkml/2017/12/20/929
Ping, Peter/Steven. If you have a chance, please review the series.
This series doesn't really touch anything I maintain, but the general
appraoch seems sane to me. I like the first patch that ensures
structures are passed by reference.

The rest is all tracepoint/bpf glue and I never really got into the bpf
internals, so I don't think I've got anything useful to say there.
Thread (11 messages) 11 messages, 5 authors, last reply 2018-03-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help