[PATCH]Avoid klogd splitting lines
Steve Bennett
steveb at workware.net.au
Thu Oct 2 01:16:42 UTC 2008
klogd.c says:
> - /* Note: this code does not detect incomplete messages
> - * (messages not ending with '\n' or just when kernel
> - * generates too many messages for us to keep up)
> - * and will split them in two separate lines */
This is particularly noticeable at startup where there are many
initial messages and lots of them are split.
The attached patch fixes this at the cost of a few bytes.
function old new delta
klogd_main 362 406 +44
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 44/0) Total:
44 bytes
Please consider applying.
--
WorkWare Systems Pty Ltd
W: www.workware.net.au P: 0434 921 300
E: steveb at workware.net.au F: 07 3102 9221
-------------- next part --------------
A non-text attachment was scrubbed...
Name: klogd-no-split.diff
Type: application/octet-stream
Size: 2590 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20081002/c5c2d9cf/attachment-0002.obj
More information about the busybox
mailing list