From patchwork Fri Mar 7 20:10:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Long X-Patchwork-Id: 25897 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f69.google.com (mail-qa0-f69.google.com [209.85.216.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 71B38203C3 for ; Fri, 7 Mar 2014 20:10:58 +0000 (UTC) Received: by mail-qa0-f69.google.com with SMTP id w5sf1665402qac.0 for ; Fri, 07 Mar 2014 12:10:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=MxBbdf0RutiXjfmfqOBQL8KJuwsZE7WLEm4ZbVoj2BQ=; b=czqkgRZH5jzDwyNvPTPdsduZcZERD3m7HF2vG2WjRnvqp3J5S33X47k1vtWrpWUklS JxN4wO4Rz+n6YoX2Pv8R30333kSUBiy38N0V5jd3/madu3gmV9UIo7S4i3lWvPLwgKMO HVUyQtZViRZjbKeDq1M9p+UUXfp2uNTBh6b374UGdLB+D4CuSMWbDf/gCPiO8f0x/mZt ps3s6504Z/ff8X9bCOAJHq8AO3MAW3jHHlqPzq0udM5Jaq3GnhvzYhaAI0mZ+qBPhog7 +7AdHUe8b7MHANy/C7yBNPAxp30DCsy7ILpTwgucB60BatIFHhLW71LP/LLq8mclJ4B8 D+oA== X-Gm-Message-State: ALoCoQldrLneZ/6rqgtyRFxoXgVH9RzGU6VRMMfXvXmTezMs6jHPgaXPFIEGYadxCYBWq+R0M/6p X-Received: by 10.236.78.70 with SMTP id f46mr8063174yhe.19.1394223057918; Fri, 07 Mar 2014 12:10:57 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.27.146 with SMTP id 18ls1217925qgx.6.gmail; Fri, 07 Mar 2014 12:10:57 -0800 (PST) X-Received: by 10.58.145.9 with SMTP id sq9mr54214veb.53.1394223057758; Fri, 07 Mar 2014 12:10:57 -0800 (PST) Received: from mail-ve0-f169.google.com (mail-ve0-f169.google.com [209.85.128.169]) by mx.google.com with ESMTPS id uw4si3121686vdc.79.2014.03.07.12.10.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Mar 2014 12:10:57 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.169; Received: by mail-ve0-f169.google.com with SMTP id pa12so4885589veb.28 for ; Fri, 07 Mar 2014 12:10:57 -0800 (PST) X-Received: by 10.58.161.205 with SMTP id xu13mr11764291veb.4.1394223057676; Fri, 07 Mar 2014 12:10:57 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.78.9 with SMTP id i9csp139706vck; Fri, 7 Mar 2014 12:10:57 -0800 (PST) X-Received: by 10.68.237.228 with SMTP id vf4mr24281713pbc.131.1394223056842; Fri, 07 Mar 2014 12:10:56 -0800 (PST) Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by mx.google.com with ESMTPS id pi6si6953245pbb.10.2014.03.07.12.10.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Mar 2014 12:10:56 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.52 is neither permitted nor denied by best guess record for domain of dave.long@linaro.org) client-ip=209.85.220.52; Received: by mail-pa0-f52.google.com with SMTP id rd3so4616979pab.25 for ; Fri, 07 Mar 2014 12:10:56 -0800 (PST) X-Received: by 10.69.25.69 with SMTP id io5mr24515869pbd.22.1394223056428; Fri, 07 Mar 2014 12:10:56 -0800 (PST) Received: from localhost.localdomain (n182z4l226.static.ctm.net. [182.93.4.226]) by mx.google.com with ESMTPSA id tu3sm12419427pab.1.2014.03.07.12.10.52 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Mar 2014 12:10:55 -0800 (PST) From: David Long To: linux-arm-kernel@lists.infradead.org, Russell King Cc: Rabin Vincent , "Jon Medhurst (Tixy)" , Oleg Nesterov , Srikar Dronamraju , Ingo Molnar , Masami Hiramatsu , Ananth N Mavinakayanahalli , Anil S Keshavamurthy , , Peter Zijlstra , Paul Mackerras , Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org Subject: [PATCH v7 01/15] uprobes: Kconfig dependency fix Date: Fri, 7 Mar 2014 15:10:26 -0500 Message-Id: <1394223040-17129-2-git-send-email-dave.long@linaro.org> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1394223040-17129-1-git-send-email-dave.long@linaro.org> References: <1394223040-17129-1-git-send-email-dave.long@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: dave.long@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: "David A. Long" Suggested change from Oleg Nesterov. Fixes incomplete dependencies for uprobes feature. Signed-off-by: David A. Long Acked-by: Oleg Nesterov --- arch/Kconfig | 6 +----- kernel/trace/Kconfig | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/Kconfig b/arch/Kconfig index 80bbb8c..97ff872 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -86,9 +86,7 @@ config KPROBES_ON_FTRACE optimize on top of function tracing. config UPROBES - bool "Transparent user-space probes (EXPERIMENTAL)" - depends on UPROBE_EVENT && PERF_EVENTS - default n + def_bool n select PERCPU_RWSEM help Uprobes is the user-space counterpart to kprobes: they @@ -101,8 +99,6 @@ config UPROBES managed by the kernel and kept transparent to the probed application. ) - If in doubt, say "N". - config HAVE_64BIT_ALIGNED_ACCESS def_bool 64BIT && !HAVE_EFFICIENT_UNALIGNED_ACCESS help diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 015f85a..8639819 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig @@ -424,6 +424,7 @@ config UPROBE_EVENT bool "Enable uprobes-based dynamic events" depends on ARCH_SUPPORTS_UPROBES depends on MMU + depends on PERF_EVENTS select UPROBES select PROBE_EVENTS select TRACING