From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753103AbbJBPnj (ORCPT ); Fri, 2 Oct 2015 11:43:39 -0400 Received: from www62.your-server.de ([213.133.104.62]:43107 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753032AbbJBPnh (ORCPT ); Fri, 2 Oct 2015 11:43:37 -0400 From: Daniel Borkmann To: mingo@kernel.org Cc: linux-kernel@vger.kernel.org, Daniel Borkmann , Alexei Starovoitov , Steven Rostedt Subject: [PATCH] ebpf, events: make it actually more configurable Date: Fri, 2 Oct 2015 17:43:32 +0200 Message-Id: X-Mailer: git-send-email 1.9.3 X-Authenticated-Sender: daniel@iogearbox.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org While testing some other BPF issue, I realized that BPF_EVENTS is actually not accessible through menuconfig because of a missing description that needs to be attached to the bool. After the patch the entry shows up in menuconfig and can be enabled/disabled from there. Fixes: e1abf2cc8d5d ("bpf: Fix the build on BPF_SYSCALL=y && !CONFIG_TRACING kernels, make it more configurable") Signed-off-by: Daniel Borkmann Cc: Alexei Starovoitov Cc: Ingo Molnar Cc: Steven Rostedt --- kernel/trace/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 1153c43..db9a8c4 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig @@ -433,9 +433,9 @@ config UPROBE_EVENT of perf tools on user space applications. config BPF_EVENTS + bool "Enable BPF programs to be attached to events" depends on BPF_SYSCALL depends on KPROBE_EVENT || UPROBE_EVENT - bool default y help This allows the user to attach BPF programs to kprobe events. -- 1.9.3