git-commit-vandalism/trace2
Josh Steadmon 87db61a436 trace2: write discard message to sentinel files
Add a new "discard" event type for trace2 event destinations. When the
trace2 file count check creates a sentinel file, it will include the
normal trace2 output in the sentinel, along with this new discard
event.

Writing this message into the sentinel file is useful for tracking how
often the file count check triggers in practice.

Bump up the event format version since we've added a new event type.

Signed-off-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-10-05 17:53:51 +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 trace2: create new combined trace facility 2019-02-22 15:27:59 -08:00
tr2_cmd_name.c trace2: rename environment variables to GIT_TRACE2* 2019-05-28 10:20:34 -07:00
tr2_cmd_name.h trace2: create new combined trace facility 2019-02-22 15:27:59 -08:00
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 trace2: create new combined trace facility 2019-02-22 15:27:59 -08:00
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_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: write discard message to sentinel files 2019-10-05 17:53:51 +09:00
tr2_tgt.h trace2: add absolute elapsed time to start event 2019-04-16 13:37:06 +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