]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/gdb: add lx_current convenience function
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 17 Feb 2015 21:47:24 +0000 (13:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 17 Feb 2015 22:34:54 +0000 (14:34 -0800)
commit9cc51c986d23e9a94413080a84ab38cc80a09e50
tree74c464dcc68c8636cbf5211a335c5651b3de9974
parenta055bdca4750f91d8184172166b40a4ec39ecc65
scripts/gdb: add lx_current convenience function

This is a shorthand for *$lx_per_cpu("current_task"), i.e.  a convenience
function to retrieve the currently running task of the active context.

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/cpus.py