]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: support raw tracepoints in modules
authorMatt Mullins <mmullins@fb.com>
Thu, 13 Dec 2018 00:42:37 +0000 (16:42 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 18 Dec 2018 22:08:12 +0000 (14:08 -0800)
commit109f0a02d1d0f2c06be5fdcb021a9a1966806435
tree6fe1371db87f368a635d6d4aa7ef58031a940cf7
parent80756665f70b6b45d578a7991396e0a68cc2820b
bpf: support raw tracepoints in modules

Distributions build drivers as modules, including network and filesystem
drivers which export numerous tracepoints.  This enables
bpf(BPF_RAW_TRACEPOINT_OPEN) to attach to those tracepoints.

Signed-off-by: Matt Mullins <mmullins@fb.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/linux/module.h
include/linux/trace_events.h
kernel/bpf/syscall.c
kernel/module.c
kernel/trace/bpf_trace.c