diff options
author | Jan Kiszka <[email protected]> | 2015-02-17 13:47:04 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-02-17 14:34:53 -0800 |
commit | ae7dbaad23f0346dc4e2476be63a9a5a376ee472 (patch) | |
tree | bc4d9da95fd46b4f81ba437adb4e5344dca85809 /scripts/gdb/vmlinux-gdb.py | |
parent | 78e878172327b1b6aa6264b1d22f9a083f9ddaa6 (diff) |
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 <[email protected]>
Cc: Kay Sievers <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Jason Wessel <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Ben Widawsky <[email protected]>
Cc: Borislav Petkov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
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 |