git/trace2
Josh Steadmon 3d3adaad91 trace2: teach Git to log environment variables
Via trace2, Git can already log interesting config parameters (see the
trace2_cmd_list_config() function). However, this can grant an
incomplete picture because many config parameters also allow overrides
via environment variables.

To allow for more complete logs, we add a new trace2_cmd_list_env_vars()
function and supporting implementation, modeled after the pre-existing
config param logging implementation.

Signed-off-by: Josh Steadmon <steadmon@google.com>
Acked-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2020-03-23 13:14:53 -07:00
..
tr2_cfg.c trace2: teach Git to log environment variables 2020-03-23 13:14:53 -07:00
tr2_cfg.h trace2: teach Git to log environment variables 2020-03-23 13:14:53 -07:00
tr2_cmd_name.c
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 Fix spelling errors in code comments 2019-11-10 16:00:54 +09:00
tr2_sid.h
tr2_sysenv.c trace2: teach Git to log environment variables 2020-03-23 13:14:53 -07:00
tr2_sysenv.h trace2: teach Git to log environment variables 2020-03-23 13:14:53 -07:00
tr2_tbuf.c
tr2_tbuf.h
tr2_tgt.h
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
tr2_tls.h