diff --git a/crash/kdump/target.py b/crash/kdump/target.py index 8a476bb34d2..f69e65d9dbf 100644 --- a/crash/kdump/target.py +++ b/crash/kdump/target.py @@ -58,7 +58,13 @@ def setup_tasks(self): self.pid_to_task_struct = {} - for task in list_for_each_entry(task_list, init_task.type, 'tasks'): + tasks = [] + for taskg in list_for_each_entry(task_list, init_task.type, 'tasks'): + tasks.append(taskg) + for task in list_for_each_entry(taskg['thread_group'], init_task.type, 'thread_group'): + tasks.append(task) + + for task in tasks: cpu = None regs = None active = long(task.address) in rqscurrs