From ecca21fd40be21164d664eb7d8a52ea1fdabfde0 Mon Sep 17 00:00:00 2001 From: Sebastian Unger Date: Thu, 13 Jun 2019 13:41:12 +0200 Subject: Add user custom timestamp interface Two new macros are introduced so that users can use their customized timestamps for DLT messages: - DLT_LOG_TS(CONTEXT, LOGLEVEL, TS, ARGS ...) - DLT_LOG_ID_TS(CONTEXT, LOGLEVEL, MSGID, TS, ARGS ...) Detailed explanations can be found in dlt_for_developers.md. Also a new option is added to dlt-system to use events' timestamps from journald adapter. Signed-off-by: Sebastian Unger --- src/system/dlt-system.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/system/dlt-system.h') diff --git a/src/system/dlt-system.h b/src/system/dlt-system.h index ed2b50b..46738b8 100644 --- a/src/system/dlt-system.h +++ b/src/system/dlt-system.h @@ -107,6 +107,7 @@ typedef struct { int CurrentBoot; int Follow; int MapLogLevels; + int UseOriginalTimestamp; } JournalOptions; typedef struct { -- cgit v1.2.1