----- Original Message -----
On the kernel with CONFIG_RT_GROUP_SCHED=n, the "RT
PRIO_ARRAY" table of runq
command always empty, nevertheless exists "rt_sched_class" task.
This cause to substract offset "task_struct->rt - task_struct" only if there
is
my_q member (ie. CONFIG_RT_GROUP_SCHED=y). Therefore dump_RT_prio_array()
passes the address of "rt member of task_struct" to task_to_context().
This patch ensure to pass the address of "task_struct" to task_to_context().
Mitsuya,
I adjusted your patch to also maintain compatibility with 2.6.24 and earlier kernels,
and have queued it for crash-7.1.0:
https://github.com/crash-utility/crash/commit/02086663bcc4fa9fd0fbec89f83...
Thanks,
Dave