From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932442AbdJPUV4 (ORCPT ); Mon, 16 Oct 2017 16:21:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:52188 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752193AbdJPUVy (ORCPT ); Mon, 16 Oct 2017 16:21:54 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 695912191B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=rostedt@goodmis.org Date: Mon, 16 Oct 2017 16:21:51 -0400 From: Steven Rostedt To: David Miller Cc: linux-kernel@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, netdev@vger.kernel.org Subject: Re: [PATCH] tracing: bpf: Hide bpf trace events when they are not used Message-ID: <20171016162151.3578ddd5@gandalf.local.home> In-Reply-To: <20171016.211106.146432024027343504.davem@davemloft.net> References: <20171012184002.0661a867@gandalf.local.home> <20171016.205434.1066116631088582472.davem@davemloft.net> <20171016160125.2a927a83@gandalf.local.home> <20171016.211106.146432024027343504.davem@davemloft.net> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 16 Oct 2017 21:11:06 +0100 (WEST) David Miller wrote: > From: Steven Rostedt > Date: Mon, 16 Oct 2017 16:01:25 -0400 > > > On Mon, 16 Oct 2017 20:54:34 +0100 (WEST) > > David Miller wrote: > > > >> Steven, I lost track of how this patch is being handled. > >> > >> Do you want me to merge it via my net-next tree? > > > > If you want. I could take it too if you give me an ack. It's not > > dependent on any other changes so it doesn't matter which way it goes. I > > know Alexei was thinking about doing the same for xdp but those appear > > to be used even without BPF_SYSCALLS. > > Ok, applied to my net-next tree and if you want to apply it to your's > too, here is the ACK: > > Acked-by: David S. Miller Thanks! But if you are taking it, I'm fine with that. It may be a while before I get my tool applied that detects unused tracepoints at compile time. I have it working at runtime, but rather have a compiler warning. -- Steve