The patch titled Subject: scripts/gdb: add ps command has been removed from the -mm tree. Its filename was scripts-gdb-add-ps-command.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Thiébaud Weksteen <thiebaud@xxxxxxxxxxx> Subject: scripts/gdb: add ps command Signed-off-by: Thiébaud Weksteen <thiebaud@xxxxxxxxxxx> Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- scripts/gdb/linux/tasks.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff -puN scripts/gdb/linux/tasks.py~scripts-gdb-add-ps-command scripts/gdb/linux/tasks.py --- a/scripts/gdb/linux/tasks.py~scripts-gdb-add-ps-command +++ a/scripts/gdb/linux/tasks.py @@ -67,6 +67,22 @@ return that task_struct variable which P LxTaskByPidFunc() +class LxPs(gdb.Command): + """Dump Linux tasks.""" + + def __init__(self): + super(LxPs, self).__init__("lx-ps", gdb.COMMAND_DATA) + + def invoke(self, arg, from_tty): + for task in task_lists(): + gdb.write("{address} {pid} {comm}\n".format( + address=task, + pid=task["pid"], + comm=task["comm"].string())) + +LxPs() + + thread_info_type = utils.CachedType("struct thread_info") ia64_task_size = None _ Patches currently in -mm which might be from thiebaud@xxxxxxxxxxx are -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html