diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2015-02-17 22:47:04 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-17 23:34:53 +0100 |
commit | ae7dbaad23f0346dc4e2476be63a9a5a376ee472 (patch) | |
tree | bc4d9da95fd46b4f81ba437adb4e5344dca85809 /scripts/gdb/vmlinux-gdb.py | |
parent | scripts/gdb: add read_u16/32/64 helpers (diff) | |
download | linux-ae7dbaad23f0346dc4e2476be63a9a5a376ee472.tar.xz linux-ae7dbaad23f0346dc4e2476be63a9a5a376ee472.zip |
scripts/gdb: add lx-dmesg command
This pokes into the log buffer of the debugged kernel, dumping it to the
gdb console. Helping in case the target should or can no longer execute
dmesg itself.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Kay Sievers <kay@vrfy.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Wessel <jason.wessel@windriver.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Ben Widawsky <ben@bwidawsk.net>
Cc: Borislav Petkov <bp@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
-rw-r--r-- | scripts/gdb/vmlinux-gdb.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/gdb/vmlinux-gdb.py b/scripts/gdb/vmlinux-gdb.py index cf2e7161b280..fa66d23ea563 100644 --- a/scripts/gdb/vmlinux-gdb.py +++ b/scripts/gdb/vmlinux-gdb.py @@ -25,3 +25,4 @@ else: import linux.utils import linux.symbols import linux.modules + import linux.dmesg |