]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
update bpf kernel header
authorStephen Hemminger <shemming@brocade.com>
Fri, 23 Oct 2015 06:43:35 +0000 (23:43 -0700)
committerStephen Hemminger <shemming@brocade.com>
Fri, 23 Oct 2015 06:43:35 +0000 (23:43 -0700)
include/linux/bpf.h

index 689be2e8b44c9bba845af98d5818c27c75cd4cdc..37ba60171e59e13470205b69cf353053066ae050 100644 (file)
@@ -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,
 };