summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorJosh Steadmon <steadmon@google.com>2024-08-22 14:57:45 -0700
committerJunio C Hamano <gitster@pobox.com>2024-08-22 15:02:31 -0700
commitcbe140754bc1eb4380ffe820de121e49357a9af8 (patch)
tree850e955f9173a3165f27d0db183ed4fd9b94551a /builtin/commit.c
parent3a7362eb9fad0c4838f5cfaa95ed3c51a4c18d93 (diff)
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>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions