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> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| api-error-handling.txt | ||
| api-index-skel.txt | ||
| api-index.sh | ||
| api-merge.txt | ||
| api-parse-options.txt | ||
| api-simple-ipc.txt | ||
| api-trace2.txt | ||
| bitmap-format.txt | ||
| bundle-uri.txt | ||
| commit-graph.txt | ||
| directory-rename-detection.txt | ||
| hash-function-transition.txt | ||
| long-running-process-protocol.txt | ||
| multi-pack-index.txt | ||
| pack-heuristics.txt | ||
| packfile-uri.txt | ||
| parallel-checkout.txt | ||
| partial-clone.txt | ||
| platform-support.txt | ||
| racy-git.txt | ||
| reftable.txt | ||
| remembering-renames.txt | ||
| repository-version.txt | ||
| rerere.txt | ||
| scalar.txt | ||
| send-pack-pipeline.txt | ||
| shallow.txt | ||
| sparse-checkout.txt | ||
| sparse-index.txt | ||
| trivial-merge.txt | ||
| unit-tests.txt | ||