1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-10-28 04:49:43 +01:00
git/trace2
Josh Steadmon cbe140754b trace2: implement trace2_printf() for event target
The trace2 event target does not have an implementation for
trace2_printf(). While the event target is for structured events, and
trace2_printf() is for unstructured, human-readable messages, it may
still be useful to wrap these unstructured messages in a structured JSON
object. Among other things, it may reduce confusion when manually
debugging using event trace data.

Add a simple implementation for the event target that wraps
trace2_printf() messages in a minimal JSON object. Document this in
Documentation/technical/api-trace2.txt, and bump the event format
version since we're adding a new event type.

Signed-off-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-08-22 15:02:31 -07:00
..
tr2_cfg.c Merge branch 'gc/config-context' 2023-07-06 11:54:48 -07:00
tr2_cfg.h
tr2_cmd_name.c treewide: remove unnecessary includes of cache.h 2023-03-21 10:56:53 -07:00
tr2_cmd_name.h
tr2_ctr.c treewide: remove unnecessary includes in source files 2023-12-26 12:04:33 -08:00
tr2_ctr.h
tr2_dst.c treewide: remove unnecessary includes of cache.h 2023-03-21 10:56:53 -07:00
tr2_dst.h
tr2_sid.c treewide: remove unnecessary includes of cache.h 2023-03-21 10:56:53 -07:00
tr2_sid.h
tr2_sysenv.c trace2: handle NULL values in tr2_sysenv config callback 2023-12-09 08:24:47 +09:00
tr2_sysenv.h
tr2_tbuf.c
tr2_tbuf.h
tr2_tgt.h trace2: plumb config kvi 2023-06-28 14:06:39 -07:00
tr2_tgt_event.c trace2: implement trace2_printf() for event target 2024-08-22 15:02:31 -07:00
tr2_tgt_normal.c trace2/tr2_tls.h: remove unnecessary include 2023-12-26 12:04:32 -08:00
tr2_tgt_perf.c trace2: plumb config kvi 2023-06-28 14:06:39 -07:00
tr2_tls.c trace2/tr2_tls.h: remove unnecessary include 2023-12-26 12:04:32 -08:00
tr2_tls.h trace2/tr2_tls.h: remove unnecessary include 2023-12-26 12:04:32 -08:00
tr2_tmr.c treewide: remove unnecessary includes in source files 2023-12-26 12:04:33 -08:00
tr2_tmr.h