trace2: make SIDs more unique
commit08881b9a4c841b77bc2a4a17510ee33b98070b9e
authorJeff Hostetler <jeffhost@microsoft.com>
Mon, 15 Apr 2019 20:39:49 +0000 (15 13:39 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Apr 2019 04:37:07 +0000 (16 13:37 +0900)
treeda981a4a5c6ad307bc7dd3d682d3c06f6b03a1e7
parentbad229aef232256f3fb6e8ed9c09e26ff654399c
trace2: make SIDs more unique

Update SID component construction to use the current UTC datetime
and a portion of the SHA1 of the hostname.

Use an simplified date/time format to make it easier to use the
SID component as a logfile filename.

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/api-trace2.txt
trace2/tr2_sid.c
trace2/tr2_tbuf.c
trace2/tr2_tbuf.h