]> git.baikalelectronics.ru Git - kernel.git/commit
samples/bpf: fix bpf_perf_event_output prototype
authorAdam Barth <arb@fb.com>
Wed, 10 Aug 2016 16:45:39 +0000 (09:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Aug 2016 06:12:31 +0000 (23:12 -0700)
commit247782d625a0a952bcb9f1540361c5a9e8718352
tree7a4533e34176ec840291d85f4ca7456c7aca0cd2
parent04b4e1467e27f517f5bcce59f516825a44bfce8f
samples/bpf: fix bpf_perf_event_output prototype

The commit c9a1832b66cb ("bpf: avoid stack copy and use skb ctx for event output")
started using 20 of initially reserved upper 32-bits of 'flags' argument
in bpf_perf_event_output(). Adjust corresponding prototype in samples/bpf/bpf_helpers.h

Signed-off-by: Adam Barth <arb@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/bpf_helpers.h