mirror of
https://github.com/git/git.git
synced 2024-12-12 03:14:11 +08:00
cbe140754b
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> |
||
---|---|---|
.. | ||
tr2_cfg.c | ||
tr2_cfg.h | ||
tr2_cmd_name.c | ||
tr2_cmd_name.h | ||
tr2_ctr.c | ||
tr2_ctr.h | ||
tr2_dst.c | ||
tr2_dst.h | ||
tr2_sid.c | ||
tr2_sid.h | ||
tr2_sysenv.c | ||
tr2_sysenv.h | ||
tr2_tbuf.c | ||
tr2_tbuf.h | ||
tr2_tgt_event.c | ||
tr2_tgt_normal.c | ||
tr2_tgt_perf.c | ||
tr2_tgt.h | ||
tr2_tls.c | ||
tr2_tls.h | ||
tr2_tmr.c | ||
tr2_tmr.h |