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

Merge "lrdp_v2 : Fix for broken timerlist parser"

parents bf80cf3d 26d3f725
No related branches found
No related tags found
No related merge requests found
......@@ -66,8 +66,11 @@ class TimerList(RamParser) :
timer_list_offset = self.ramdump.field_offset('struct delayed_work', 'timer')
work_addr = node - timer_list_offset
func_addr = work_addr + self.ramdump.field_offset('struct work_struct', 'func')
work_func = self.ramdump.unwind_lookup(self.ramdump.read_word(func_addr))[0]
data += " / " + work_func
try:
work_func = self.ramdump.unwind_lookup(self.ramdump.read_word(func_addr))[0]
data += " / " + work_func
except TypeError:
data += " / " + hex(self.ramdump.read_word(func_addr)) + "<MODULE>"
if not self.timer_42:
timer_base_addr = node + self.ramdump.field_offset(
......
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