Re: [PATCH RESEND 1/3] printk: convert byte-buffer tovariable-length record buffer

From: Anton Vorontsov
Date: Fri Jun 15 2012 - 08:25:08 EST


On Fri, Jun 15, 2012 at 02:07:51PM +0200, Kay Sievers wrote:
[...]
> From: Kay Sievers <kay@xxxxxxxx>
> Subject: kmsg - kmsg_dump() use iterator to receice log buffer content
>
> Provide an iterator to receive the log buffer content, and convert all
> kmsg_dump() user to it.
>
> The structured data in the kmsg buffer now contains binary data, which
> should no longer be copied verbatim to the kmsg_dump() users.
>
> The iterator should provide reliable access to the buffer data, and also
> supports proper log line-aware chunking of data while iterating.
>
> Signed-off-by: Kay Sievers <kay@xxxxxxxx>

Thanks Kay, it works!

Reported-by: Anton Vorontsov <anton.vorontsov@xxxxxxxxxx>
Tested-by: Anton Vorontsov <anton.vorontsov@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/