Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2000972rdb; Tue, 3 Oct 2023 07:32:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG8P0NeqqLdO8EfsHHTpgXZ4/tIxvlopKztwAY1+dElXKkgjtvrBXRzRXyGPJYaV+Oydj7q X-Received: by 2002:a05:6808:14c9:b0:3ab:9afd:8efd with SMTP id f9-20020a05680814c900b003ab9afd8efdmr17030452oiw.40.1696343549507; Tue, 03 Oct 2023 07:32:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696343549; cv=none; d=google.com; s=arc-20160816; b=uD9lvjjtSRNwFoI22QuRqTRwfHnzX5K8XMzQubOkPhEX6VacFmq/pbNaaf3MD+Ysqj P/f1HodloSlejTD/vFZJKMYKNz5dXfyX9anP0gd6/Zd205knuqfUdTPL7sLyccBE19zN azvdzw+i6UtHV0G1H7XX24rUsMZin3DntSrR4N9fIk+dd/vKOy8lkknC951KT4Vh1drA pXPJxLKe7UgPIki09ua+sB++aXOD4jkXQNqjrnEsRdduarOoaJ7t2aybT7O4P+i/XfQ1 t4+mK4mUmGPjP5b641GA2JtrHnlGiIhXqmE+cWurq4jtHoucTEG3TYwbRj3CKHUZuBxX WI3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=JxWgVpVcF8qddWrB6nSPIjDEsj73waIzHk37FiA6u4g=; fh=cIcJTQiU6QivskOzF8K2GUi0ezC4JNWtSbKrmZ85SDU=; b=FqWWyva++NfK7bP3yaK0MAUZ2OYNy8soQbStAjTlibn76Mb/Bw6g8CzrsIZ1yq2d8p BdlI3py7BeY9e9s1mmfjsbVhZH+vguA0SEnk7moRWzkwyXYVHnodKDnX4NfMkXzLD5f3 m/BN514wbjlsMs4Xrl2kL2I66j3oEa8VPubpJjPcDsvXm3j/I68rzsZQ6nGUsqz5mPo8 qH0w7Yac1adt5dLFZvSUw5+1HuPBbEYd1AH9PRNZEbu5CoGPJAZuOHkbHqYZTc4ZSpAq yhiZHbvbzVvYZ7KaF5oO+aRt0fF5+0pjKLBWpdzIFo4QruvoiBIhaK+IXpErasHeAdqK RuGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XWN4Rh+E; 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=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id k198-20020a636fcf000000b0055c7eb53d7fsi1534724pgc.584.2023.10.03.07.32.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 07:32:29 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=XWN4Rh+E; 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=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 9A8C68132A46; Tue, 3 Oct 2023 07:32:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240147AbjJCOb7 (ORCPT + 99 others); Tue, 3 Oct 2023 10:31:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240085AbjJCOb7 (ORCPT ); Tue, 3 Oct 2023 10:31:59 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 993DBBB for ; Tue, 3 Oct 2023 07:31:55 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 346B1C433AB; Tue, 3 Oct 2023 14:31:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696343515; bh=lXhzkTduNuZuLROT+iBijIF0A95RJ4ufla0K1M+opJU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=XWN4Rh+E9PDsO4VJBGGuVKpVRJYentIfOH5cUNSV4YsQXcxcfh+5TOv+KDW4/F2lX GqyZ3M9cwIlXcaVvfnRmSsVr1jE95FEf4gmxD+5T3wMNlXxm7lGn0vXfOO7BA9OWai nzhIKizki4ZClwnaUR9mWn983p4DbniY5CBrYQ9unOLpCcBF5vqTIBMHBsRqi5srM6 I73TD0/hZ75Elw4NNXIWRx5bOCQEJN5Nu7dhqLdqeuWjnVPgrLICR3WE+Bm/FJW+F0 CgM4x4BcujSNtF8YPbAq56KVmRw69vvzH9PiNnUWOxSA5Bp2n191ZC5Vf7/J2UpW03 dBShZRWhHputA== Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-1dd78b46995so573512fac.3; Tue, 03 Oct 2023 07:31:55 -0700 (PDT) X-Gm-Message-State: AOJu0YxKDmBiLzM6XUAX5IeIEX/EBpifsXltFP7tG+pRMXCYmupMtiqT mG51/LKxcDsNPWIcZmT1pv8kWNQcPBxAiX5VtNM= X-Received: by 2002:a05:6870:2314:b0:1c8:bfd1:ecc0 with SMTP id w20-20020a056870231400b001c8bfd1ecc0mr14691547oao.0.1696343514186; Tue, 03 Oct 2023 07:31:54 -0700 (PDT) MIME-Version: 1.0 References: <20230923053515.535607-1-irogers@google.com> <20230923053515.535607-2-irogers@google.com> In-Reply-To: From: Masahiro Yamada Date: Tue, 3 Oct 2023 23:31:17 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 01/18] gen_compile_commands: Allow the line prefix to still be cmd_ To: Nicolas Schier Cc: Ian Rogers , Nick Desaulniers , Nathan Chancellor , Tom Rix , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , Yicong Yang , Jonathan Cameron , Yang Jihong , Kan Liang , Ming Wang , Huacai Chen , Sean Christopherson , K Prateek Nayak , Yanteng Si , Yuan Can , Ravi Bangoria , James Clark , Paolo Bonzini , llvm@lists.linux.dev, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, bpf@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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, 03 Oct 2023 07:32:26 -0700 (PDT) On Thu, Sep 28, 2023 at 11:26=E2=80=AFPM Nicolas Schier = wrote: > > On Mon, 25 Sep 2023 09:06:11 -0700, Ian Rogers wrote: > > On Mon, Sep 25, 2023 at 8:49=E2=80=AFAM Nick Desaulniers > > wrote: > > > > > > On Fri, Sep 22, 2023 at 10:35=E2=80=AFPM Ian Rogers wrote: > > > > > > > > Builds in tools still use the cmd_ prefix in .cmd files, so don't > > > > require the saved part. Name the groups in the line pattern match s= o > > > > > > Is that something that can be changed in the tools/ Makefiles? > > > > > > I'm fine with this change, just curious where the difference comes > > > from precisely. > > > Reviewed-by: Nick Desaulniers > > > > I agree. The savedcmd_ change came from Masahiro in: > > https://lore.kernel.org/lkml/20221229091501.916296-1-masahiroy@kernel.o= rg/ > > I was reluctant to change the build logic in tools/ because of the > > potential to break things. Maybe Masahiro/Nicolas know of issues? > > I haven't seen any issues related to the introduction of savedcmd_; and > roughly searching through tools/ I cannot find a rule that matches the > pattern Masahiro described in commit 92215e7a801d ("kbuild: rename > cmd_$@ to savedcmd_$@ in *.cmd files", 2022-12-29). For consistency, > I'd like to see the build rules in tools/ re-use the ones from scripts/ > but as of now I don't see any necessity to introduce savedcmd in > tools/, yet. > > Kind regards, > Nicolas tools/build/Build.include mimics scripts/Kbuild.include That should be changed in the same way. --=20 Best Regards Masahiro Yamada