summaryrefslogtreecommitdiff
path: root/doc/dlt-sortbytimestamp.1.md
diff options
context:
space:
mode:
authorBui Nguyen Quoc Thanh <Thanh.BuiNguyenQuoc@vn.bosch.com>2019-07-17 13:59:51 +0700
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2019-09-13 08:48:31 +0900
commitb1193fa1f3b48587666202f513d9bfba719fdc6a (patch)
tree0251bd4fd27ad5eeb6d615035fef8ce686e0726a /doc/dlt-sortbytimestamp.1.md
parentd973560abe98290a215c2a23915620b6beecf2c1 (diff)
downloadDLT-daemon-b1193fa1f3b48587666202f513d9bfba719fdc6a.tar.gz
console: Tool to merge multiple DLT files
- Sort in dlt-sortbytimestamp: first sorted by time, second sorted by timestamp. - Support multiple compressed files in dlt-convert. These changes is based on use case: User can expects to join several dlt files which are compressed in tar.gz file (maybe per component). Moreover, currently the existing sort is only applicaple for single boot cycle. There should be a support for sorting multiple cyclic boots in one dlt file. Signed-off-by: Bui Nguyen Quoc Thanh <Thanh.BuiNguyenQuoc@vn.bosch.com>
Diffstat (limited to 'doc/dlt-sortbytimestamp.1.md')
-rw-r--r--doc/dlt-sortbytimestamp.1.md10
1 files changed, 4 insertions, 6 deletions
diff --git a/doc/dlt-sortbytimestamp.1.md b/doc/dlt-sortbytimestamp.1.md
index 9f66320..caf0256 100644
--- a/doc/dlt-sortbytimestamp.1.md
+++ b/doc/dlt-sortbytimestamp.1.md
@@ -2,7 +2,7 @@
# NAME
-**dlt-sortbytimestamp** - Re-order DLT Logging files according to message creation time
+**dlt-sortbytimestamp** - Re-order DLT Logging files according to message creation time and timestamp.
# SYNOPSIS
@@ -12,13 +12,11 @@
By default messages in DLT files are ordered according to the time the logger received them. This can unhelpful when tracing a sequence of events on a busy multi-threaded/multi-core system, because thread pre-emption combined with multiple processes attempting to log messages simultaneously means that the order in which the messages are received may vary significantly from the order in which they were created.
-*dlt-sortbytimestamp* re-orders a DLT input file's messages according their creation timestamp, and writes them to an output DLT file.
+*dlt-sortbytimestamp* is able to re-order a DLT input file's messages according both their creation time and timestamp, and writes them to an output DLT file.
-# IMPORTANT NOTE
+# NOTE
-Message timestamps are recorded relative to boot time. DLT files can contain messages from more than one reboot cycle. Because timestamping is reset to zero at each boot, simply running *dlt-sortbytimestamp* against a multi-boot-cycle DLT input file will produce a tangled mess.
-
-Use the *-b* and/or *-e* options to specify a range of messages within a single reboot cycle and all will be well.
+Use the \*-b\* and/or \*-e\* options to specify a range of messages within a single reboot cycle and all will be well.
Hint: use *dlt-viewer* to ascertain the endpoints of the range in question.