From: Kay Sievers Date: Fri, 15 Jun 2012 12:07:51 +0000 (+0200) Subject: kmsg - kmsg_dump() use iterator to receive log buffer content X-Git-Tag: v3.5-rc4~17^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2ae715d66bf4becfb85eb84b7150e23cf27df30;p=pandora-kernel.git kmsg - kmsg_dump() use iterator to receive log buffer content Provide an iterator to receive the log buffer content, and convert all kmsg_dump() users 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 Tested-by: Tony Luck Reported-by: Anton Vorontsov Tested-by: Anton Vorontsov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed