From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: Re: [PATCH bpf-next v2] bpf: support raw tracepoints in modules Date: Tue, 18 Dec 2018 14:12:51 -0800 Message-ID: <20181218221249.d4jpktn2wezyyyc2@ast-mbp> References: <20181213004237.3888568-1-mmullins@fb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: ast@kernel.org, daniel@iogearbox.net, netdev@vger.kernel.org, kernel-team@fb.com, Jessica Yu , Steven Rostedt , Ingo Molnar , linux-kernel@vger.kernel.org To: Matt Mullins Return-path: Content-Disposition: inline In-Reply-To: <20181213004237.3888568-1-mmullins@fb.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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 > --- > v1->v2: > * avoid taking the mutex in bpf_event_notify when op is neither COMING nor > GOING. > * check that kzalloc actually succeeded Applied, Thanks