Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp824620pxb; Fri, 15 Apr 2022 12:20:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUvASZBbOXXrszft2riFr5+gqOfKgwuSNkb9ERniMqK0TTnzIHszfatBVu/5r58mWq3rLj X-Received: by 2002:a17:902:c412:b0:158:72da:6fdd with SMTP id k18-20020a170902c41200b0015872da6fddmr523246plk.165.1650050435223; Fri, 15 Apr 2022 12:20:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650050435; cv=none; d=google.com; s=arc-20160816; b=U1/UG/TfqInDeg2UnCeMktHKObwTiifj6I8r8A4ew2lxD7/58G5joA0wDRuQ3qln7Z T3xzqOl1Q9VzwPjFYOsVOcyrAWjP5wc+r3nRti51AM8103/CC85GM+VorUm/Ldb+n2gi eLa6euzWZuW4JYzPMHXlJoashOSrx7UR04ZnvTmZKI0DD46l1+5ggGiuSorsCKkTEO+c 9pi2JHWPO/ULYU6QjtH6kMY6tbsJkAOI2K87ZIGn++uPFHLW7vKGuznmqQ/kunfqj3iK ssddKzIJ7zYs4hBtDT2iUgXohuspSg81tKattSNQ+/OEIeuxDG8QpLsDh0bYs9EyUjci 9VUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=xhIDvCKjfyFxJfvLw8YkmEsEs0zMe7xZBlVmf1UZvqc=; b=S+I97lpxXH+/n2MmUsyDhBnqAM3urcDtKBm7Hc58COREpWFgpVhoyouVi029DJK1/1 MnJgl74EolNSbVu65tu7kjL9+5cjBgLJmUvMKBP/fu5IfVqq2xNo6lmJ/JIzRlhu2WH/ xxsRw1LcYDbcVabdvHhNfuGRzCihQJyMMdZdHLfl4dqireQFUCsK1bE5vPUi3iuVrLzR cV126gkD0yAGxMtVs9Q9J/+1T4Iv2HvgIC68G2tV98A650iHgiJAIm+s3944123TgFx2 44Uvjw10VwT+TLPaw5Y1Wvx7WtATXCWHVhlV80Iea//H4dASuQQ3bYFtqEZ6baa/M0sl LM7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=nWYLi6h3; dkim=neutral (no key) header.i=@suse.cz header.b=gxOv7XA1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ll11-20020a17090b21cb00b001ce59d786d7si1234816pjb.143.2022.04.15.12.20.20; Fri, 15 Apr 2022 12:20:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=nWYLi6h3; dkim=neutral (no key) header.i=@suse.cz header.b=gxOv7XA1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236363AbiDNJod (ORCPT + 99 others); Thu, 14 Apr 2022 05:44:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231321AbiDNJoc (ORCPT ); Thu, 14 Apr 2022 05:44:32 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0128718349; Thu, 14 Apr 2022 02:42:09 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id B224921618; Thu, 14 Apr 2022 09:42:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1649929327; h=from:from:reply-to: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=xhIDvCKjfyFxJfvLw8YkmEsEs0zMe7xZBlVmf1UZvqc=; b=nWYLi6h3qRmu62qtpkfGuq7ABIO9ie/jO+FTUGkmm2jz8vHj2w5rhlVyB4Le99PDWR3FC/ RUzqsC6LbAjMzixr+DI/wM3McEFQkzpDljVea2RcUjaNKr+ftoZgZRrKZQI8Avd9/JRoZE qM8aKwrqcth6rMFZWvunRPL2AWwft88= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1649929327; h=from:from:reply-to: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=xhIDvCKjfyFxJfvLw8YkmEsEs0zMe7xZBlVmf1UZvqc=; b=gxOv7XA1s08yF06K7CRDDLSNiIcGAhlG2Mj5R37M08QywYdcPKGr/+TsYZ3mzAACTPZ/PN sbqcIijHZ0HTvIDA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 852C513A86; Thu, 14 Apr 2022 09:42:07 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id lI+HH2/sV2JoaQAAMHmgww (envelope-from ); Thu, 14 Apr 2022 09:42:07 +0000 Message-ID: Date: Thu, 14 Apr 2022 11:42:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH] scripts: dummy-tools, add pahole Content-Language: en-US To: Masahiro Yamada Cc: Linux Kernel Mailing List , Michal Marek , Nick Desaulniers , Linux Kbuild mailing list References: <20220414091419.7654-1-jslaby@suse.cz> From: Jiri Slaby In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14. 04. 22, 11:33, Masahiro Yamada wrote: > On Thu, Apr 14, 2022 at 6:14 PM Jiri Slaby wrote: >> >> CONFIG_PAHOLE_VERSION is a part of a config since the commit below. And >> when multiple people update the config, this value constantly changes. >> Even if they use dummy scripts. >> >> To fix this: >> * add a pahole dummy script returning v99.99 -> 9999 >> * call it in Makefile taking CROSS_COMPILE into account. >> >> The latter happens only if $(CROSS_COMPILE)pahole really exists. This is >> because a cross pahole likely exists only in dummy tools now, not in >> real cross tools. > > > I do not think this is the right thing to do. > > (As I said somewhere, I am opposed to checking pahole version in Kconfig). If you ask me, I am all for removal as this causes pain. But it's there, so I cannot do anything about that. > Also, $(CROSS_COMPILE)pahole looks insane. > > You can create a dummy pahole in your local system. > > $ echo 'echo v99.99' > $HOME/bin/dummy-pahole > $ chmod +x $HOME/bin/dummy-pahole > $ make CROSS_COMPILE=scripts/dummy-tools PAHOLE=dummy-pahole menuconfig Well, the question is how do I that for every kernel developer in SUSE? thanks, -- js suse labs