From: Stephen Hemminger Date: Fri, 23 Oct 2015 06:43:35 +0000 (-0700) Subject: update bpf kernel header X-Git-Tag: v4.4.0~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c518d3a7f73a441b6cfa283244bd829509f4b0f4;p=thirdparty%2Fiproute2.git update bpf kernel header --- diff --git a/include/linux/bpf.h b/include/linux/bpf.h index 689be2e8b..37ba60171 100644 --- a/include/linux/bpf.h +++ b/include/linux/bpf.h @@ -287,6 +287,17 @@ enum bpf_func_id { * Return: realm if != 0 */ BPF_FUNC_get_route_realm, + + /** + * bpf_perf_event_output(ctx, map, index, data, size) - output perf raw sample + * @ctx: struct pt_regs* + * @map: pointer to perf_event_array map + * @index: index of event in the map + * @data: data on stack to be output as raw data + * @size: size of data + * Return: 0 on success + */ + BPF_FUNC_perf_event_output, __BPF_FUNC_MAX_ID, };