Re: [PATCH bpf-next v2] bpf: support raw tracepoints in modules

From: Alexei Starovoitov
Date: Tue Dec 18 2018 - 17:12:56 EST


On Wed, Dec 12, 2018 at 04:42:37PM -0800, Matt Mullins wrote:
> 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@xxxxxx>
> ---
> v1->v2:
> * avoid taking the mutex in bpf_event_notify when op is neither COMING nor
> GOING.
> * check that kzalloc actually succeeded

Applied, Thanks