Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4023890rdh; Tue, 28 Nov 2023 09:43:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IGxJ5mmGuUDnO8z2zFvmj/6HzXsY4rNLqE0W/Q6VEb/vOZa3bDdz1fak8wX/roz7XtXnXR8 X-Received: by 2002:a05:6808:1250:b0:3ae:1b21:fab1 with SMTP id o16-20020a056808125000b003ae1b21fab1mr14912430oiv.31.1701193400126; Tue, 28 Nov 2023 09:43:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701193400; cv=none; d=google.com; s=arc-20160816; b=BbAJ4K/cpfOf9pk4bG1WFngcJEWpyQN3STktT+Q3Mve6Ls2IHXxUxop5v8p9yzeG6T EWYy5ou8VgcIl63ammLX6YYXDX7Gm6NwOynzaYlqSsrPgOJEAsDI/kJRsZDwPzfGR92C n/lnp4IuOLNVMwQ6o0Jd92yiAI6x1cooeqjF+oDgqlzQS9X/UvlTYKrrt4UogQQKCPai yDq056HP/uNMwTSLEXb+esWrPMBdFCwNXX4YFE3yHVORwBF3ay4XcFVE2/tvSFTvt0Np dtfICocQ88eOwY0Dvh97V5jkOhGoTDAWPntOW3/G0rXv2Hew2nroX5/BbPBdP7T5EsyN r4Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:dkim-signature:date; bh=Rpzb16wTQD+aymEz7SbZXRnLQFtDSOEzXXEggagV1Bw=; fh=B8/OJvWHlKgoWNeWTRtHgiWCwGyU0HInq60kIFJl/h8=; b=IBVO7GV5UoEY6yY+64TB9cdXgLkIzH0gLUkc9/kJb+XH2hYXsrlY9JIhMqNL6/YlUo S7STSp9ZYmqe1eEpHiGUaQc8BzfHWantca5gibWouP1eSgEwCxqIUdNAzTDDoFo0nE6c ufjJZ078C4feaWSdBZ+Rur8h1ctQ5YTmFQ3Pedp9dI3vmBoGv7JE4/5H8rdBLgIqpSva xBpeWm5E9vIpO9SHqUiFrb3zDxgQcgj6TjfP/75Vka8Y8St1keJQzXMduGhkeLO2alUx P86/tRuYtqgqrLSw30/46e0XcbSAYGfdDIxYV8gTAVmpCHY5CH/zpgXtPnOwQkNQZXf4 dv5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=uLxxv4vc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id cn2-20020a056a020a8200b005b8f401a3a6si12485795pgb.41.2023.11.28.09.43.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 09:43:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=uLxxv4vc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 75E9D8046C8D; Tue, 28 Nov 2023 09:43:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345487AbjK1Rmz (ORCPT + 99 others); Tue, 28 Nov 2023 12:42:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344957AbjK1Rmy (ORCPT ); Tue, 28 Nov 2023 12:42:54 -0500 Received: from out-182.mta0.migadu.com (out-182.mta0.migadu.com [91.218.175.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1A9C10EC for ; Tue, 28 Nov 2023 09:42:59 -0800 (PST) Date: Tue, 28 Nov 2023 12:42:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1701193378; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Rpzb16wTQD+aymEz7SbZXRnLQFtDSOEzXXEggagV1Bw=; b=uLxxv4vcSO9YksdxfTHkWbHgRKpXU4VwhsHNZdHVGBfVRZp3PO/4XWvff/Ra12jx4FxCoc KTT5/cfU9Lyyl5K3pDJ6mOpjHHc+IS2h0oDR+N9RbFJI6ph+OrP66AUFznCPPGllafPImn xBjGMFufaI0GKPWEATMqtNyJJr7BTf0= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Masahiro Yamada Cc: linux-kernel@vger.kernel.org, Nathan Chancellor , Nick Desaulniers , Nicolas Schier , linux-kbuild@vger.kernel.org Subject: Re: [PATCH] kbuild: Allow gcov to be enabled on the command line Message-ID: <20231128174255.xd3yji7rhwijkp75@moria.home.lan> References: <20231122235527.180507-1-kent.overstreet@linux.dev> <20231125195620.rjgkooixugucv2vp@moria.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 28 Nov 2023 09:43:17 -0800 (PST) On Tue, Nov 28, 2023 at 08:44:11PM +0900, Masahiro Yamada wrote: > On Sun, Nov 26, 2023 at 4:56 AM Kent Overstreet > > It's consistent with how we can specify options in makefiles for a > > particular file. > > > It is consistent in a bad way. That's a new meaning for consistent that I'm unfamiliar with. > You used "GCOV_PROFILE_" prefix > for the full directory path, while it is already > used as a file name which is relative to the > current directory. And the current directory when you're building the entire kernel is the top level directory. > > I suppose CONFIG_GCOV_PROFILE_DIRS would be fine, but your patch isn't > > complete so I can't test it. > > > I do not understand what you mean by "isn't complete". > > It is just a matter of adding the config entry somewhere. Yes, not complete, meaning you haven't even tested it.