git/trace2
Ævar Arnfjörð Bjarmason 4996e0b015 trace2: use designated initializers for "struct tr2_dst"
Convert the "static struct tr2_dst" assignments in trace2/* to use
designated initializers. I don't think it improves readability to
include the explicit 0-ing out of the
fd/initialized/need_close/too_many_files members, so let's have those
be initialized implicitly by the compiler.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2022-02-24 15:58:55 -08: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: disable tr2_dst before warning on write errors 2021-11-18 22:38:15 -08: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 trace2: add trace2_child_ready() to report on background children 2021-09-20 08:57:58 -07:00
tr2_tgt_event.c trace2: use designated initializers for "struct tr2_dst" 2022-02-24 15:58:55 -08:00
tr2_tgt_normal.c trace2: use designated initializers for "struct tr2_dst" 2022-02-24 15:58:55 -08:00
tr2_tgt_perf.c trace2: use designated initializers for "struct tr2_dst" 2022-02-24 15:58:55 -08:00
tr2_tls.c tr2: stop leaking "thread_name" memory 2021-09-07 11:07:59 -07:00
tr2_tls.h