1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-09 17:16:34 +02:00
git/trace2
René Scharfe 5c34d2f03e trace2: add dots directly to strbuf in perf_fmt_prepare()
The initialization function of the Trace2 performance format target sets
aside a stash of dots for indenting output.  Get rid of it and use
strbuf_addchars() to provide dots on demand instead.  This shortens the
code, gets rid of a small heap allocation and is a bit more efficient.

Signed-off-by: René Scharfe <l.s.r@web.de>
Acked-by: Jeff King <peff@peff.net>
Acked-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-11-06 11:45:18 +09:00
..
tr2_cfg.c trace2: use system/global config for default trace2 settings 2019-04-16 13:37:06 +09:00
tr2_cfg.h
tr2_cmd_name.c trace2: rename environment variables to GIT_TRACE2* 2019-05-28 10:20:34 -07:00
tr2_cmd_name.h
tr2_dst.c trace2: write discard message to sentinel files 2019-10-05 17:53:51 +09:00
tr2_dst.h trace2: write discard message to sentinel files 2019-10-05 17:53:51 +09:00
tr2_sid.c trace2: rename environment variables to GIT_TRACE2* 2019-05-28 10:20:34 -07:00
tr2_sid.h
tr2_sysenv.c trace2: discard new traces if target directory has too many files 2019-10-05 17:53:51 +09:00
tr2_sysenv.h trace2: discard new traces if target directory has too many files 2019-10-05 17:53:51 +09:00
tr2_tbuf.c trace2: make SIDs more unique 2019-04-16 13:37:07 +09:00
tr2_tbuf.h trace2: make SIDs more unique 2019-04-16 13:37:07 +09:00
tr2_tgt.h trace2: add absolute elapsed time to start event 2019-04-16 13:37:06 +09:00
tr2_tgt_event.c trace2: write discard message to sentinel files 2019-10-05 17:53:51 +09:00
tr2_tgt_normal.c trace2: write discard message to sentinel files 2019-10-05 17:53:51 +09:00
tr2_tgt_perf.c trace2: add dots directly to strbuf in perf_fmt_prepare() 2019-11-06 11:45:18 +09:00
tr2_tls.c Merge branch 'jh/trace2' 2019-05-30 10:50:45 -07:00
tr2_tls.h trace2: refactor setting process starting time 2019-04-16 13:37:06 +09:00