summaryrefslogtreecommitdiff
path: root/trace2
diff options
context:
space:
mode:
authorLibravatar Josh Steadmon <steadmon@google.com>2021-11-11 14:34:25 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-11-11 15:01:04 -0800
commit04480e67fe7a0a8c111becd43b114ce634e4a7e8 (patch)
tree1f4006528c46cfd077d2f64f10a0167662fcb79c /trace2
parentt/helper/simple-ipc: convert test-simple-ipc to use start_bg_command (diff)
downloadtgif-04480e67fe7a0a8c111becd43b114ce634e4a7e8.tar.xz
trace2: increment event format version
In 64bc752 (trace2: add trace2_child_ready() to report on background children, 2021-09-20), we added a new "child_ready" event. In Documentation/technical/api-trace2.txt, we promise that adding a new event type will result in incrementing the trace2 event format version number, but this was not done. Correct this in code & docs. Signed-off-by: Josh Steadmon <steadmon@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace2')
-rw-r--r--trace2/tr2_tgt_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace2/tr2_tgt_event.c b/trace2/tr2_tgt_event.c
index 70cfc2f77c..3a0014417c 100644
--- a/trace2/tr2_tgt_event.c
+++ b/trace2/tr2_tgt_event.c
@@ -20,7 +20,7 @@ static struct tr2_dst tr2dst_event = { TR2_SYSENV_EVENT, 0, 0, 0, 0 };
* a new field to an existing event, do not require an increment to the EVENT
* format version.
*/
-#define TR2_EVENT_VERSION "2"
+#define TR2_EVENT_VERSION "3"
/*
* Region nesting limit for messages written to the event target.