Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp3678088rwl; Tue, 27 Dec 2022 13:08:24 -0800 (PST) X-Google-Smtp-Source: AMrXdXtff3S1uwgB6MdjTB4HqSncBLc02eeMg4e6QA4N55l0oFuUt+Ucp5ilu5NdfNPfSUTPptqy X-Received: by 2002:a17:902:b78b:b0:192:806e:e236 with SMTP id e11-20020a170902b78b00b00192806ee236mr7078772pls.47.1672175304757; Tue, 27 Dec 2022 13:08:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672175304; cv=none; d=google.com; s=arc-20160816; b=KO9a3NGPD7GqA3jtjZYuEJr4viqWVhxKCxGQOdsm5QhJc2EZeiKFfWdg+23KkmjsXG ntcvQzIsHyhDUDvug5ArrtHnk6b4mhHycW8GZev3/IwtxMqxF/wjg8flT9I7u4qqg1Zz GPK2YmanRqNAb3+r2mtGZp24LGLcZuDokhJjrnlo9R3TICdKIpoBF0IWJ8kkR8faednF KV3y6DB75L1J+PHKCfRFX+vcs8peD5kWcrORpMTXnFwxRVNiX3Q4niIUhOa4Ayq33393 ds1t/z4d2HGqZAPR4ZREdm49CXAH10ksJvtfLYZLmiKVFNLHy8O+gXF2NxvbPkExTvm4 Mabg== 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; bh=hTssokk3AGotZC40cbI0c+Za3XnHdaV26CUqrjF1YJ8=; b=DLUo2CcK67Id6rNLYWB8U9ocwIky3SyeBU7zD2jSc7C2GXtJRdkfJaiP9KCTG2KnlR ETLfsdLXvrn0T58RYNc4GNhk0D8ZGA5n3dR2PgFrTGbokBUQLezKNVAfhPqfk1xKO9MP HlZC593TwaI9K8Jb6s9qKGT7qw9y/JmlygtJ8fqAGz2mQdDaaGkCgQlyr6rS6HFEG3vw guLJ2w/YNb6+u453lUaCzSF1lR8M6YOYrrRl0/2vX6Rp6r5HhgPqy3f1nl8X7cdxap9z fLlz3z+8mAhJxJE7uyDXZskmJNAcGPdvgPkn2K8kNjWirJW7KBeWqiaMrEx/4qsuRLiZ SzeA== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y7-20020a17090322c700b0019144f5893asi16115569plg.140.2022.12.27.13.08.16; Tue, 27 Dec 2022 13:08:24 -0800 (PST) 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; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229915AbiL0UaG convert rfc822-to-8bit (ORCPT + 66 others); Tue, 27 Dec 2022 15:30:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229502AbiL0UaE (ORCPT ); Tue, 27 Dec 2022 15:30:04 -0500 Received: from mail-il1-f173.google.com (mail-il1-f173.google.com [209.85.166.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98EBD63FE; Tue, 27 Dec 2022 12:30:03 -0800 (PST) Received: by mail-il1-f173.google.com with SMTP id y2so7253290ily.5; Tue, 27 Dec 2022 12:30:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qmLwJ+PWqbcorDCwxmocOdJgeZdtJDX23RvZXns5ir0=; b=yib27nWOshfewB/9gcylNZJw/CTBxvoQrqoQDeFFsNQJHD27Zuko60Pawy7Su05/bM czvh2wpmNsZpqO4aNIPWjDXdZnLR5l0atN3IE+tj4uH/6vhfipWyNXZZugW4wOVhY26U chlQe3LJyf49V4iLKq5PVs1rf6dcgAEN8NCAHBJRoWDC4LKNroHwpJwTubRd7hapLVqX t0qmxV+5Tm3PqCds2hTXSe/SSKeFIDNAxnJTwZjG613q24LlJskARxuSn8lx9YTduEtl KHfrut6yNPfRPY21hS28sgjm+U1Ofs4h4cU60GvL1NPC63tdw8KOXfdwnZ3FlOQL9iKX d4Ng== X-Gm-Message-State: AFqh2kqtLIDY2mpGKEKgbPZiuDBV9t55BRvwcQBowoJ/S5nL/62Dk3uZ hbu3advhM7+6M65I9oUhvZcKU1aCGXJ3Sr0RMyw= X-Received: by 2002:a92:da4f:0:b0:30b:e5e7:9854 with SMTP id p15-20020a92da4f000000b0030be5e79854mr1406536ilq.180.1672173002819; Tue, 27 Dec 2022 12:30:02 -0800 (PST) MIME-Version: 1.0 References: <20221226193517.qynxfceqgzvr4qwu@tarta.nabijaczleweli.xyz> <20221226195015.venelpockrns7uk4@tarta.nabijaczleweli.xyz> In-Reply-To: <20221226195015.venelpockrns7uk4@tarta.nabijaczleweli.xyz> From: Namhyung Kim Date: Tue, 27 Dec 2022 12:29:51 -0800 Message-ID: Subject: Re: [PATCH 2/1] perf tools: don't include signature in version strings To: =?UTF-8?Q?Ahelenia_Ziemia=C5=84ska?= Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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 Mon, Dec 26, 2022 at 11:50 AM Ahelenia Ziemiańska wrote: > > This explodes the build if HEAD is signed, since the generated version > is gpg: Signature made Mon 26 Dec 2022 20:34:48 CET, then a few more > lines, then the SHA. > > Signed-off-by: Ahelenia Ziemiańska Acked-by: Namhyung Kim Thanks, Namhyung > --- > tools/perf/Documentation/Makefile | 2 +- > tools/perf/util/PERF-VERSION-GEN | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tools/perf/Documentation/Makefile b/tools/perf/Documentation/Makefile > index 6e7b88917ca0..ba5d942e4c6a 100644 > --- a/tools/perf/Documentation/Makefile > +++ b/tools/perf/Documentation/Makefile > @@ -267,7 +267,7 @@ $(OUTPUT)%.xml : %.txt > $(ASCIIDOC) -b docbook -d manpage \ > $(ASCIIDOC_EXTRA) -aperf_version=$(PERF_VERSION) \ > -aperf_date=$(shell git log -1 --pretty="format:%cd" \ > - --date=short $<) \ > + --date=short --no-show-signature $<) \ > -o $@+ $< && \ > mv $@+ $@ > > diff --git a/tools/perf/util/PERF-VERSION-GEN b/tools/perf/util/PERF-VERSION-GEN > index 3cc42821d9b3..d7dc7c28508c 100755 > --- a/tools/perf/util/PERF-VERSION-GEN > +++ b/tools/perf/util/PERF-VERSION-GEN > @@ -19,7 +19,7 @@ TAG= > if test -d ../../.git -o -f ../../.git > then > TAG=$(MAKEFLAGS= make -sC ../.. kernelversion) > - CID=$(git log -1 --abbrev=12 --pretty=format:"%h" 2>/dev/null) && CID="-g$CID" > + CID=$(git log -1 --abbrev=12 --pretty=format:"%h" --no-show-signature 2>/dev/null) && CID="-g$CID" > elif test -f ../../PERF-VERSION-FILE > then > TAG=$(cut -d' ' -f3 ../../PERF-VERSION-FILE | sed -e 's/\"//g') > -- > 2.30.2