]> Zhao Yanbai Git Server - minix.git/commit
trace(1): add basic support for timestamps 82/3382/1
authorDavid van Moolenbroek <david@minix3.org>
Thu, 15 Dec 2016 18:05:51 +0000 (18:05 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Wed, 28 Dec 2016 13:06:04 +0000 (13:06 +0000)
commit10a44c0ee2297b10de47c333d88880b5ccc8208e
tree1ceb586acab4a85a59a2e0326334462c1814fea0
parent1bb466dd36c0591122401dfd685782ec28865fc3
trace(1): add basic support for timestamps

This patch adds strace-like support for a -t command line option,
which causes a timestamp to be printed at the beginning of each line.
If the option is given more than once, the output will also include
microseconds.

Change-Id: I8cda581651859448c154b01815cc49d915b7b354
minix/usr.bin/trace/output.c
minix/usr.bin/trace/proto.h
minix/usr.bin/trace/trace.1
minix/usr.bin/trace/trace.c