summaryrefslogtreecommitdiff
path: root/trace2.h
diff options
context:
space:
mode:
authorJosh Steadmon <steadmon@google.com>2020-11-11 23:29:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-11-12 02:26:52 (GMT)
commite97e1cf464fa0c4646d41b9221ae88a7dca12493 (patch)
treecf99f8a075293f4104d04aef0af582508f7a7a60 /trace2.h
parent81bd549010f609056362b1cd94feb2434beee194 (diff)
downloadgit-e97e1cf464fa0c4646d41b9221ae88a7dca12493.zip
git-e97e1cf464fa0c4646d41b9221ae88a7dca12493.tar.gz
git-e97e1cf464fa0c4646d41b9221ae88a7dca12493.tar.bz2
trace2: add a public function for getting the SID
Add a public wrapper, trace2_session_id(), around tr2_sid_get(), which is intended to be private trace2 implementation. Signed-off-by: Josh Steadmon <steadmon@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace2.h')
-rw-r--r--trace2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/trace2.h b/trace2.h
index b18bc55..ede18c2 100644
--- a/trace2.h
+++ b/trace2.h
@@ -500,4 +500,6 @@ void trace2_collect_process_info(enum trace2_process_info_reason reason);
} while (0)
#endif
+const char *trace2_session_id(void);
+
#endif /* TRACE2_H */