[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171016.205434.1066116631088582472.davem@davemloft.net>
Date: Mon, 16 Oct 2017 20:54:34 +0100 (WEST)
From: David Miller <davem@...emloft.net>
To: rostedt@...dmis.org
Cc: linux-kernel@...r.kernel.org, ast@...nel.org, daniel@...earbox.net,
netdev@...r.kernel.org
Subject: Re: [PATCH] tracing: bpf: Hide bpf trace events when they are not
used
From: Steven Rostedt <rostedt@...dmis.org>
Date: Thu, 12 Oct 2017 18:40:02 -0400
> From: Steven Rostedt (VMware) <rostedt@...dmis.org>
>
> All the trace events defined in include/trace/events/bpf.h are only
> used when CONFIG_BPF_SYSCALL is defined. But this file gets included by
> include/linux/bpf_trace.h which is included by the networking code with
> CREATE_TRACE_POINTS defined.
>
> If a trace event is created but not used it still has data structures
> and functions created for its use, even though nothing is using them.
> To not waste space, do not define the BPF trace events in bpf.h unless
> CONFIG_BPF_SYSCALL is defined.
>
> Signed-off-by: Steven Rostedt (VMware) <rostedt@...dmis.org>
Steven, I lost track of how this patch is being handled.
Do you want me to merge it via my net-next tree?
Powered by blists - more mailing lists