Skip to content
Snippets Groups Projects
Commit 2f1614d2 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "linux-ramdump-parser-v2: Optimize taskdump panic stack dumping"

parents 1755740c bf0fe6ec
No related branches found
No related tags found
No related merge requests found
# Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. # Copyright (c) 2012-2013, 2015 The Linux Foundation. All rights reserved.
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 and # it under the terms of the GNU General Public License version 2 and
...@@ -105,7 +105,8 @@ def dump_thread_group(ramdump, thread_group, task_out, check_for_panic=0): ...@@ -105,7 +105,8 @@ def dump_thread_group(ramdump, thread_group, task_out, check_for_panic=0):
0, ' ', task_out) 0, ' ', task_out)
task_out.write( task_out.write(
'=======================================================\n') '=======================================================\n')
else: # Panicking tasks are expected to remain in a TASK_RUNNING state
elif task_state == 0:
find_panic(ramdump, addr_stack, thread_task_name) find_panic(ramdump, addr_stack, thread_task_name)
next_thr = ramdump.read_word(thread_group) next_thr = ramdump.read_word(thread_group)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment