Star64_linux/scripts/gdb/linux
Kieran Bingham 9f66dee720 scripts/gdb: add lx_thread_info_by_pid helper
The tasks module already provides helpers to find the task struct by
pid, and the thread_info by task struct; however this is cumbersome to
utilise on the gdb commandline.

Wrap these two functionalities together in an extra single helper to
allow exploring the thread info, from a PID value

Link: http://lkml.kernel.org/r/dadc5667f053ec811eb3e3033d99d937fedbc93b.1462865983.git.jan.kiszka@siemens.com
Signed-off-by: Kieran Bingham <kieran.bingham@linaro.org>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-05-23 17:04:14 -07:00
..
.gitignore scripts/gdb: ignore byte-compiled python files 2015-02-17 14:34:54 -08:00
__init__.py scripts/gdb: add empty package initialization script 2015-02-28 09:57:51 -08:00
constants.py.in scripts/gdb: add a Radix Tree Parser 2016-05-23 17:04:14 -07:00
cpus.py scripts/gdb: cast CPU numbers to integer 2016-05-23 17:04:14 -07:00
dmesg.py scripts/gdb: fix PEP8 compliance 2015-06-30 19:44:58 -07:00
lists.py scripts/gdb: provide kernel list item generators 2016-05-23 17:04:14 -07:00
Makefile scripts/gdb: provide linux constants 2016-05-23 17:04:14 -07:00
modules.py scripts/gdb: support !CONFIG_MODULES gracefully 2016-05-23 17:04:14 -07:00
proc.py scripts/gdb: add mount point list command 2016-05-23 17:04:14 -07:00
radixtree.py scripts/gdb: add a Radix Tree Parser 2016-05-23 17:04:14 -07:00
symbols.py scripts/gdb: account for changes in module data structure 2016-03-22 15:36:02 -07:00
tasks.py scripts/gdb: add lx_thread_info_by_pid helper 2016-05-23 17:04:14 -07:00
utils.py scripts/gdb: provide a dentry_name VFS path helper 2016-05-23 17:04:14 -07:00