- On Mar 28, 2018, at 3:40 PM, rostedt rost...@goodmis.org wrote:
> On Wed, 28 Mar 2018 12:38:48 -0700
> Alexei Starovoitov wrote:
>
>> On 3/28/18 12:34 PM, Steven Rostedt wrote:
>> > On Wed, 28 Mar 2018 12:05:37 -0700
>> > Alexei Starovoitov wrote:
>> >
>> >> +++ b/include/linux/tracepoi
On Wed, 28 Mar 2018 12:38:48 -0700
Alexei Starovoitov wrote:
> On 3/28/18 12:34 PM, Steven Rostedt wrote:
> > On Wed, 28 Mar 2018 12:05:37 -0700
> > Alexei Starovoitov wrote:
> >
> >> +++ b/include/linux/tracepoint-defs.h
> >> @@ -35,4 +35,10 @@ struct tracepoint {
> >>struct tracepoint_fu
On 3/28/18 12:34 PM, Steven Rostedt wrote:
On Wed, 28 Mar 2018 12:05:37 -0700
Alexei Starovoitov wrote:
+++ b/include/linux/tracepoint-defs.h
@@ -35,4 +35,10 @@ struct tracepoint {
struct tracepoint_func __rcu *funcs;
};
+struct bpf_raw_event_map {
+ struct tracepoint *tp
On Wed, 28 Mar 2018 12:05:37 -0700
Alexei Starovoitov wrote:
> +++ b/include/linux/tracepoint-defs.h
> @@ -35,4 +35,10 @@ struct tracepoint {
> struct tracepoint_func __rcu *funcs;
> };
>
> +struct bpf_raw_event_map {
> + struct tracepoint *tp;
> + void*
Introduce BPF_PROG_TYPE_RAW_TRACEPOINT bpf program type to access
kernel internal arguments of the tracepoints in their raw form.
>From bpf program point of view the access to the arguments look like:
struct bpf_raw_tracepoint_args {
__u64 args[0];
};
int bpf_prog(struct bpf_raw_tracepoint