Re: [PATCH v5 bpf-next 00/10] bpf, tracing: introduce bpf raw tracepoints

2018-03-26 Thread Steven Rostedt
On Mon, 26 Mar 2018 09:00:33 -0700 Alexei Starovoitov wrote: > On 3/26/18 8:47 AM, Steven Rostedt wrote: > > On Mon, 26 Mar 2018 17:32:02 +0200 > > Daniel Borkmann > >> On 03/26/2018 05:04 PM, Steven Rostedt wrote: > >>> On Mon, 26 Mar 2018 10:28:03 +0200

Re: [PATCH v5 bpf-next 00/10] bpf, tracing: introduce bpf raw tracepoints

2018-03-26 Thread Alexei Starovoitov
On 3/26/18 8:47 AM, Steven Rostedt wrote: On Mon, 26 Mar 2018 17:32:02 +0200 Daniel Borkmann wrote: On 03/26/2018 05:04 PM, Steven Rostedt wrote: On Mon, 26 Mar 2018 10:28:03 +0200 Daniel Borkmann wrote: tracepointbase kprobe+bpf

Re: [PATCH v5 bpf-next 00/10] bpf, tracing: introduce bpf raw tracepoints

2018-03-26 Thread Steven Rostedt
On Mon, 26 Mar 2018 17:32:02 +0200 Daniel Borkmann wrote: > On 03/26/2018 05:04 PM, Steven Rostedt wrote: > > On Mon, 26 Mar 2018 10:28:03 +0200 > > Daniel Borkmann wrote: > > > >>> tracepointbase kprobe+bpf tracepoint+bpf raw_tracepoint+bpf >

Re: [PATCH v5 bpf-next 00/10] bpf, tracing: introduce bpf raw tracepoints

2018-03-26 Thread Daniel Borkmann
On 03/26/2018 05:04 PM, Steven Rostedt wrote: > On Mon, 26 Mar 2018 10:28:03 +0200 > Daniel Borkmann wrote: > >>> tracepointbase kprobe+bpf tracepoint+bpf raw_tracepoint+bpf >>> task_rename 1.1M 769K947K1.0M >>> urandom_read 789K 697K

Re: [PATCH v5 bpf-next 00/10] bpf, tracing: introduce bpf raw tracepoints

2018-03-26 Thread Steven Rostedt
On Mon, 26 Mar 2018 10:28:03 +0200 Daniel Borkmann wrote: > > tracepointbase kprobe+bpf tracepoint+bpf raw_tracepoint+bpf > > task_rename 1.1M 769K947K1.0M > > urandom_read 789K 697K750K755K > > Applied to bpf-next,

Re: [PATCH v5 bpf-next 00/10] bpf, tracing: introduce bpf raw tracepoints

2018-03-26 Thread Daniel Borkmann
On 03/24/2018 03:30 AM, Alexei Starovoitov wrote: > From: Alexei Starovoitov > > v4->v5: > - adopted Daniel's fancy REPEAT macro in bpf_trace.c in patch 7 > > v3->v4: > - adopted Linus's CAST_TO_U64 macro to cast any integer, pointer, or small > struct to u64. That nicely

Re: [PATCH v5 bpf-next 00/10] bpf, tracing: introduce bpf raw tracepoints

2018-03-23 Thread Alexei Starovoitov
On 3/23/18 7:30 PM, Alexei Starovoitov wrote: From: Alexei Starovoitov v4->v5: - adopted Daniel's fancy REPEAT macro in bpf_trace.c in patch 7 Daniel, if you don't mind I'd like to land the patch set in this shape and you can follow up with additional macro magic, since I

[PATCH v5 bpf-next 00/10] bpf, tracing: introduce bpf raw tracepoints

2018-03-23 Thread Alexei Starovoitov
From: Alexei Starovoitov v4->v5: - adopted Daniel's fancy REPEAT macro in bpf_trace.c in patch 7 v3->v4: - adopted Linus's CAST_TO_U64 macro to cast any integer, pointer, or small struct to u64. That nicely reduced the size of patch 1 v2->v3: - with Linus's suggestion