]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
kdb: Revive dmesg command
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Sat, 21 Jul 2012 00:27:37 +0000 (17:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 Jul 2012 17:34:00 +0000 (10:34 -0700)
commitbc792e612e78a24ae0b30cc5b85f2368379ba4d4
tree8de04a65c1d02e42ab7e22b440f0aae92926fc69
parent84a1caf1453c3d44050bd22db958af4a7f99315c
kdb: Revive dmesg command

The kgdb dmesg command is broken after the printk rework.  The old logic
in kdb code makes no sense in terms of current printk/logging storage
format, and KDB simply hangs forever.

This patch revives the command by switching to kmsg_dumper iterator.

The code is now much more simpler and shorter.

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/debug/kdb/kdb_main.c