From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754473AbcJEOSO (ORCPT ); Wed, 5 Oct 2016 10:18:14 -0400 Received: from mail-lf0-f50.google.com ([209.85.215.50]:35453 "EHLO mail-lf0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752909AbcJEOSN (ORCPT ); Wed, 5 Oct 2016 10:18:13 -0400 Subject: Re: [PATCH] rcu: Reword help of RCU_TRACE option To: paulmck@linux.vnet.ibm.com References: <1475651181-5512-1-git-send-email-kernel@kyup.com> <20161005140307.GE3640@linux.vnet.ibm.com> Cc: linux-kernel@vger.kernel.org From: Nikolay Borisov Message-ID: <57F50BA1.6010404@kyup.com> Date: Wed, 5 Oct 2016 17:18:09 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <20161005140307.GE3640@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/05/2016 05:03 PM, Paul E. McKenney wrote: > On Wed, Oct 05, 2016 at 10:06:21AM +0300, Nikolay Borisov wrote: >> Explicitly state that enabling RCU_TRACE enables more >> tracepoints and not just "additional tracing". >> >> Signed-off-by: Nikolay Borisov >> --- >> >> Hello Paul, >> >> Following our latest conversation re. enabling RCU tracing >> I had to actually go and look into the code to see which >> option enables the additional tracepoints. I wasn't sure >> while reading the help of TRACE_RCU. So here is a patch >> which explicitly states that this enables additional >> tracepoints. >> >> Apply it if you deem necessary it might be just me that >> thinks the description is not verbose enough. >> >> lib/Kconfig.debug | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug >> index cab7405f48d2..f8c3468ec7ef 100644 >> --- a/lib/Kconfig.debug >> +++ b/lib/Kconfig.debug >> @@ -1429,8 +1429,8 @@ config RCU_TRACE >> depends on DEBUG_KERNEL >> select TRACE_CLOCK >> help >> - This option provides tracing in RCU which presents stats >> - in debugfs for debugging RCU implementation. >> + This option enables additional tracepoints in RCU which present >> + stats in debugfs for debugging RCU implementation. > > How about something like this? > > This option provides tracing in RCU which presents stats > in debugfs for debugging RCU implementation. It also enables > additional tracepoints for ftrace-style event tracing. So long as it's explicitly stated that it also enables tracepoints it's all fine by me. Apparently I'm not the only one who got confused. In a question re. CONFIG_RCU_TRACE here is what someone said on IRC: "what's tracepoints do you mean? this option enables the additional statistics permanently." Care to apply it with the revised wording or shall I resend? > > Thanx, Paul > >> >> Say Y here if you want to enable RCU tracing >> Say N if you are unsure. >> -- >> 2.5.0 >> >