Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7261619rwr; Wed, 10 May 2023 06:11:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Kl9f2eYuupH+F07kbLrcyYjFsBCBjrsWCglo4/hHSRr7ZlBg5bPiqqiLCPpLMKcOcYR++ X-Received: by 2002:a05:6a20:3d85:b0:ef:ef0a:f92a with SMTP id s5-20020a056a203d8500b000efef0af92amr22946285pzi.25.1683724299951; Wed, 10 May 2023 06:11:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683724299; cv=none; d=google.com; s=arc-20160816; b=L0ucJdAuV/zwm8qagLpLZMSK3KT2M2K9Qa8g6fC+QvVYDYB7pnaKdiJgA7kLkSHoWb rJuTPQVb0kZMfjVq0OoopcTocXJ1mSBQXoH7EQy06cj2xI4Pfc7nwmvjxRO4ndFot9NC dMLHmvDhvhVfr5iFq9jDq+VGY1iioeXvDAbhwSlYEsmC3Wbn4vNDte0ltj6bAdVy+u1r FvOz6DjH+d1Gy/QL86bD7PEa1Fu45CUR1xGB2+ls4Qkns29YY3S6t5nGxdwFVlZruJfA 9+F5omNYNygWxs/QaeOwMKvYj83TToiYs0hiauAZf7goSUFaFxTqz8XxwK/UINZY1iot 4LvQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=aY91sTdI/XjmGBKBpajt5hY8QLuEQfjTt5LicuUGyNw=; b=ogMFyV48hDTSpbZgLj7LFZUodNtPr8kwM7Nfd/o2NWaRmdZB4Sza5TUlYaw7pmVEeO lltNPpBb9ET9Yy54XvyhEZWt8Em5o3/7R7trNuXSrzQLWgxBH3b1heJXVe19OtnTohL+ 6U7kPKlx8ViwyHgkTapi91Ni7iOtoMLHf8hsKbgixgUmBV7//SF7LWjWq3HwyME4I818 1RD1d3kbYIwQYXwAGD+c6XLd8gklIZCsojUO0u2iIfNhsGdKzQq8iG36nMQSvWskfZtq tuloAi/pR6+OyIY8+/CiPJZLXoEn815KuOZ+EH21WauPGNzVa5N6G/AGYXrZQ866nRI7 523Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nGh3n0ek; 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 b19-20020aa79513000000b00625559a78a2si4941589pfp.107.2023.05.10.06.11.26; Wed, 10 May 2023 06:11:39 -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=@kernel.org header.s=k20201202 header.b=nGh3n0ek; 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 S237024AbjEJM75 (ORCPT + 99 others); Wed, 10 May 2023 08:59:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229867AbjEJM7z (ORCPT ); Wed, 10 May 2023 08:59:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E1A849E9 for ; Wed, 10 May 2023 05:59:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2942E633BB for ; Wed, 10 May 2023 12:59:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29082C433D2; Wed, 10 May 2023 12:59:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683723591; bh=0nLs3JU/GUw6Os0PCHQlygKF+f8Q9AanNGb4mE/Ys50=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nGh3n0ekOm4F5mbc3kefIqqvxgr7CqGVJQS5SejIVjvfeTpvR4VszIGGNiJ2DZq01 9qzO9UQWfV2dESy4IcKasMXo7SRbt54qKx/mzwR5mwFsF2jky03Krdlhc/WH4yeVCk x44UMNRVxROdfu0Yff1LK1ifOc6M5tnl9WbziIzh8LExrQf9OMIrK9zm5EHmyKvwmL jukda4annxBJc6NxqCRF4ump44flT7s+U6mzzVa1UyVZbz3vUtJP9KoOQDEsz9ccXY VpMhTG4X8k5HaDOqtD0+hnL6mDtHrh0u28BM1WzrzCy5ICTK3p/rzOcdDpWhA0gNQB 3UZOzD1pRTSFQ== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id A78BF403B5; Wed, 10 May 2023 09:59:48 -0300 (-03) Date: Wed, 10 May 2023 09:59:48 -0300 From: Arnaldo Carvalho de Melo To: Salvatore Bonaccorso Cc: Ben Hutchings , Peter Zijlstra , Ingo Molnar , Alexander Shishkin , linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf tools: Use $KBUILD_BUILD_TIMESTAMP as man page date Message-ID: References: <20160517132809.GE7555@decadent.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Em Tue, May 09, 2023 at 09:03:28PM +0200, Salvatore Bonaccorso escreveu: > Hi Peter, Ingo, Arnaldo, > > On Tue, May 17, 2016 at 02:28:09PM +0100, Ben Hutchings wrote: > > This allows man pages to be built reproducibly. > > > > Signed-off-by: Ben Hutchings > > --- > > --- a/tools/perf/Documentation/Makefile > > +++ b/tools/perf/Documentation/Makefile > > @@ -120,6 +120,9 @@ endif > > ifdef DOCBOOK_SUPPRESS_SP > > XMLTO_EXTRA += -m manpage-suppress-sp.xsl > > endif > > +ifdef KBUILD_BUILD_TIMESTAMP > > +ASCIIDOC_EXTRA += -a revdate=$(shell date -u -d '$(KBUILD_BUILD_TIMESTAMP)' +%Y-%m-%d) > > +endif > > > > SHELL_PATH ?= $(SHELL) > > # Shell quote; > > --- a/tools/perf/Documentation/asciidoc.conf > > +++ b/tools/perf/Documentation/asciidoc.conf > > @@ -71,6 +71,9 @@ ifdef::backend-docbook[] > > [header] > > template::[header-declarations] > > > > + > > +template::[docinfo] > > + > > > > {mantitle} > > {manvolnum} > > As we do apply the change in Downstream in Debian, I was wondering if > it just felt trough the cracks and could still be applied. Is there > anything missing? Isn't this fixed in: commit d586ac10ce56b2381b8e1d8ed74660c1b2b8ab0d Author: Ian Rogers Date: Fri Sep 20 21:13:27 2019 -0700 perf docs: Allow man page date to be specified With this change if a perf_date parameter is provided to asciidoc then it will override the default date written to the man page metadata. Without this change, or if the perf_date isn't specified, then the current date is written to the metadata. Having this parameter allows the metadata to be constant if builds happen on different dates. The name of the parameter is intended to be consistent with the existing perf_version parameter. Signed-off-by: Ian Rogers Cc: Alexander Shishkin Cc: Andi Kleen Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lore.kernel.org/lkml/20190921041327.155054-1-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo