Re: [RFC] hung_task:add detecting task in D state milliseconds timeout

From: Matthew Wilcox
Date: Sun Jul 05 2020 - 13:18:18 EST


On Fri, Jul 03, 2020 at 11:18:28AM +0800, yang che wrote:
> my understanding, KernelShark can't trigger panic, hung_task can
> trigger. According to my use,
> sometimes need to trigger panic to grab ramdump to analyze lock and
> memory problems.

You shouldn't need to trigger a panic to analyse locking or memory
problems. KernelShark is supposed to be able to help you do that without
bringing down the system. Give it a try, and if it doesn't work, Steven
Rostedt is very interested in making it work for your case.