diff options
author | Jeff Hostetler <jeffhost@microsoft.com> | 2019-04-15 22:39:49 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-16 06:37:07 +0200 |
commit | 08881b9a4c841b77bc2a4a17510ee33b98070b9e (patch) | |
tree | da981a4a5c6ad307bc7dd3d682d3c06f6b03a1e7 /trace2/tr2_tbuf.h | |
parent | trace2: clarify UTC datetime formatting (diff) | |
download | git-08881b9a4c841b77bc2a4a17510ee33b98070b9e.tar.xz git-08881b9a4c841b77bc2a4a17510ee33b98070b9e.zip |
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>
Diffstat (limited to 'trace2/tr2_tbuf.h')
-rw-r--r-- | trace2/tr2_tbuf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trace2/tr2_tbuf.h b/trace2/tr2_tbuf.h index 2a1d173ff2..fa853d8f42 100644 --- a/trace2/tr2_tbuf.h +++ b/trace2/tr2_tbuf.h @@ -19,5 +19,6 @@ void tr2_tbuf_local_time(struct tr2_tbuf *tb); * Fill buffer with formatted UTC datatime string. */ void tr2_tbuf_utc_datetime_extended(struct tr2_tbuf *tb); +void tr2_tbuf_utc_datetime(struct tr2_tbuf *tb); #endif /* TR2_TBUF_H */ |