[Toybox] [PATCH] bootchartd: stop using get_line().
enh
enh at google.com
Wed Sep 22 19:54:49 PDT 2021
We don't even need to read from /proc at all here: we can get the time
since boot from clock_gettime(2) directly.
Also, since TT.buf is only used for the timestamp, give it that name.
---
toys/pending/bootchartd.c | 28 +++++++---------------------
1 file changed, 7 insertions(+), 21 deletions(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210922/d6549700/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-bootchartd-stop-using-get_line.patch
Type: text/x-patch
Size: 2682 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210922/d6549700/attachment-0002.bin>
More information about the Toybox
mailing list