Skip to content

Randomize / timestamp trace2 targets

Josh Steadmon git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2date: make get_time() publiccache.h date.c+2 -10 replies
2/2trace2: randomize/timestamp trace2 targetsDocumentation/technical/api-trace2.txt t/t0210-trace2-normal.sh trace2/tr2_dst.c+187 -210 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] Randomize / timestamp trace2 targets

Persistently enabling trace2 output is difficult because it requires specifying a full filename. This series teaches tr2_dst_get_trace_fd() to randomize filenames when a directory or filename prefix are given as targets in the GIT_TR2_* envvars. It also allows expansion of a timestamp template string into the current UTC timestamp.

Josh Steadmon (2):
date: make get_time() public
trace2: randomize/timestamp trace2 targets

 Documentation/technical/api-trace2.txt | 10 +++
 cache.h                                |  1 +
 date.c                                 |  2 +-
 t/t0210-trace2-normal.sh               | 93 ++++++++++++++++++++++++++
 trace2/tr2_dst.c                       | 86 +++++++++++++++++++++++-
 5 files changed, 189 insertions(+), 3 deletions(-)
Signature · 1 line
2.21.0.360.g471c308f928-goog