bpf: export bpf_event_output()
authorJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 4 May 2018 01:37:10 +0000 (18:37 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 4 May 2018 21:41:03 +0000 (23:41 +0200)
commit6cb5fb3891db9d3f6feb0f7669946550c9abc420
treeab465e07bd3422c0cc14eccc9c59dcbad820a15a
parent630a4d3874a06aa9f9481cbfc688981aad7a834c
bpf: export bpf_event_output()

bpf_event_output() is useful for offloads to add events to BPF
event rings, export it.  Note that export is placed near the stub
since tracing is optional and kernel/bpf/core.c is always going
to be built.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Reviewed-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
kernel/bpf/core.c