summaryrefslogtreecommitdiff
path: root/t/helper/test-repository.c
diff options
context:
space:
mode:
authorLibravatar Josh Steadmon <steadmon@google.com>2019-03-21 14:09:51 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-03-22 14:27:02 +0900
commita4d3a283db5259cc372809da4dc085c3f40aebfb (patch)
tree2f96ae786a221e5ff3bc23abe950c9e119666f91 /t/helper/test-repository.c
parentThe third batch (diff)
downloadtgif-a4d3a283db5259cc372809da4dc085c3f40aebfb.tar.xz
trace2: write to directory targets
When the value of a trace2 environment variable is an absolute path referring to an existing directory, write output to files (one per process) underneath the given directory. Files will be named according to the final component of the trace2 SID, followed by a counter to avoid potential collisions. This makes it more convenient to collect traces for every git invocation by unconditionally setting the relevant trace2 envvar to a constant directory name. Signed-off-by: Josh Steadmon <steadmon@google.com> Reviewed-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-repository.c')
0 files changed, 0 insertions, 0 deletions