From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B0C2C388F3 for ; Tue, 1 Oct 2019 11:12:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DADC521924 for ; Tue, 1 Oct 2019 11:12:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569928365; bh=KSIwqi7udYS1ltCOdZhqaw685LG1hFFg0WYWzZyx40M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=nhJXKyKKHg+IP2vI584lsL3il717H+wdDFhPGkWX+qrgffWeNT93SCv1eVa1IUT13 jcLSvgZhzAt19Ttxsr8JautRioUHrNaZg30o1nGVRrnNNUyCUF2PFwRJnkcPB1KYZD K8rZRnLAu7atrokpYyAAx5OhM7a80tJq81Z6kd2U= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731391AbfJALMn (ORCPT ); Tue, 1 Oct 2019 07:12:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:34594 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731358AbfJALMm (ORCPT ); Tue, 1 Oct 2019 07:12:42 -0400 Received: from quaco.ghostprotocols.net (177.206.223.101.dynamic.adsl.gvt.net.br [177.206.223.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BEAE721920; Tue, 1 Oct 2019 11:12:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569928361; bh=KSIwqi7udYS1ltCOdZhqaw685LG1hFFg0WYWzZyx40M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NYqDTAoHNgNNn86IWeXgp8zj2JEPYNWdLJ7YMzeZyZ9lpitG4vhjOJVyhKUO1hsWQ 8fz2AWw3zWJrPWulMntJ0QEAbN5nF/vckcWBIhLipJWUwUv5cerBjpMEa1Obo6uUi1 B17KciCVNN3Q+PxlHVg/IQnFE4Mqx4N58YXfINOA= From: Arnaldo Carvalho de Melo To: Ingo Molnar , Thomas Gleixner Cc: Jiri Olsa , Namhyung Kim , Clark Williams , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Ian Rogers , Alexander Shishkin , Andi Kleen , Jiri Olsa , Peter Zijlstra , Stephane Eranian , Arnaldo Carvalho de Melo Subject: [PATCH 03/24] perf docs: Allow man page date to be specified Date: Tue, 1 Oct 2019 08:11:55 -0300 Message-Id: <20191001111216.7208-4-acme@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191001111216.7208-1-acme@kernel.org> References: <20191001111216.7208-1-acme@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ian Rogers 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 --- tools/perf/Documentation/asciidoc.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/perf/Documentation/asciidoc.conf b/tools/perf/Documentation/asciidoc.conf index 356b23a40339..2b62ba1e72b7 100644 --- a/tools/perf/Documentation/asciidoc.conf +++ b/tools/perf/Documentation/asciidoc.conf @@ -71,6 +71,9 @@ ifdef::backend-docbook[] [header] template::[header-declarations] +ifdef::perf_date[] +{perf_date} +endif::perf_date[] {mantitle} {manvolnum} -- 2.21.0