From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F2B0C15CE for ; Mon, 5 Dec 2022 03:29:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7D80C433D6; Mon, 5 Dec 2022 03:29:24 +0000 (UTC) Date: Sun, 4 Dec 2022 22:29:21 -0500 From: Steven Rostedt To: "Masami Hiramatsu (Google)" Cc: kernel test robot , David Howells , oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] trace: Fix some checker warnings Message-ID: <20221204222921.047fcf4b@rorschach.local.home> In-Reply-To: <20221205121119.537fa922bbd8147b9df5ae6c@kernel.org> References: <166992525941.1716618.13740663757583361463.stgit@warthog.procyon.org.uk> <202212022034.OqPXTS9u-lkp@intel.com> <20221205112236.f99c6104e988aa4f3dd89cd0@kernel.org> <20221204213929.2edc730b@rorschach.local.home> <20221205121119.537fa922bbd8147b9df5ae6c@kernel.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 5 Dec 2022 12:11:19 +0900 Masami Hiramatsu (Google) wrote: > > #if (defined(CONFIG_TRACER_MAX_TRACE) || defined(CONFIG_HWLAT_TRACER) \ > > || defined(CONFIG_OSNOISE_TRACER)) && defined(CONFIG_FSNOTIFY) > > #define LATENCY_FS_NOTIFY > > +#define USES_MAX_TRACE > > #endif > > > > And use that instead. > > BTW, why can't HWLAT_TRACER and OSNOISE_TRACER depend on TRACER_MAX_TRACE? > I think it is better to reduce combinations of those, especially partially > enabling a feature seems a bit dangerous. Well, the issue with that is that if the TRACER_MAX_TRACE is off (because it's not something commonly selected), it will hide osnoise and hwlat from showing up in the menus. -- Steve