lkml.org 
[lkml]   [2015]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output() helper
On Tue, Oct 20, 2015 at 08:02:34PM -0700, Alexei Starovoitov wrote:
> +static const struct bpf_func_proto bpf_perf_event_output_proto = {
> + .func = bpf_perf_event_output,
> + .gpl_only = false,

Oh ?

> + .ret_type = RET_INTEGER,
> + .arg1_type = ARG_PTR_TO_CTX,
> + .arg2_type = ARG_CONST_MAP_PTR,
> + .arg3_type = ARG_ANYTHING,
> + .arg4_type = ARG_PTR_TO_STACK,
> + .arg5_type = ARG_CONST_STACK_SIZE,
> +};


\
 
 \ /
  Last update: 2015-10-23 17:01    [W:0.159 / U:0.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site