Skip to content

perf doc improvements to man page reproducibility

Ben Hutchings linux-perf-users lkml 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am ZF/[email protected]

Versions newest first

  1. v2 Latest2 patches 1 replyApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2perf doc: Define man page date when using asciidoctortools/perf/Documentation/Makefile+7 -40 replies
2/2perf doc: Add support for KBUILD_BUILD_TIMESTAMPtools/perf/Documentation/Makefile+7 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] perf doc improvements to man page reproducibility

I previously sent a patch in 2016(!) to make the dates in man pages reproducible, with KBUILD_BUILD_TIMESTAMP specifiying the date. That patch partly overlaps with commit d586ac10ce56 "perf docs: Allow man page date to be specified", which implemented generation of dates based on commit timestamps.

However, both of those implementations were specific to the original asciidoc's DocBook backend and had no effect on asciidoctor's direct man page generation.

This series builds on the current definition of perf_date, adding support for asciidoctor and the KBUILD_BUILD_TIMESTAMP variable.

Ben.

Ben Hutchings (2):
perf doc: Define man page date when using asciidoctor perf doc: Add support for KBUILD_BUILD_TIMESTAMP

 tools/perf/Documentation/Makefile | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)