Skip to content
Snippets Groups Projects
Commit e6eb78f1 authored by Laura Abbott's avatar Laura Abbott
Browse files

linux-ramdump-parser-v2: Support CONFIG_FAIR_GROUP_SCHED=n

Not all targets run with CONFIG_FAIR_GROUP_SCHED. Adjust the
runqueue parsing to support this.

Change-Id: Ia46826a2d6dd354d1b1f475e6b51c5a9631a39fb
parent 4b878043
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ class RunQueues(RamParser):
'struct cfs_rq', 'nr_running')
my_q_offset = self.ramdump.field_offset('struct sched_entity', 'my_q')
if se_addr == 0:
if se_addr == 0 or my_q_offset is None:
self.print_task_state(status, se_addr)
else:
my_q_addr = self.ramdump.read_word(se_addr + my_q_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