]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/gdb: add helper and convenience function to look up tasks
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 17 Feb 2015 21:47:10 +0000 (13:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 17 Feb 2015 22:34:54 +0000 (14:34 -0800)
commitb0e0065a322c51f11383312c47686736a5b8cec5
treede170ba5e2b63cecfd29a1b53353a096bb6691c2
parent0d389189788a8793fc48a2af9ab7ada1174da073
scripts/gdb: add helper and convenience function to look up tasks

Add the helper task_by_pid that can look up a task by its PID.  Also
export it as a convenience function.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
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>
scripts/gdb/linux/tasks.py
scripts/gdb/vmlinux-gdb.py