]> git.baikalelectronics.ru Git - kernel.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)
commit30787fb9c2b45497671ce6841c45a57aab285e61
tree8de04a65c1d02e42ab7e22b440f0aae92926fc69
parentf1bad8bd0a5a9debe330b9f718ed01fae65c7528
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