Re: deadlock caused by printk
From: Ming Lei
Date: Fri Mar 25 2011 - 10:30:33 EST
Hi,
2011/3/25 Peter Zijlstra <peterz@xxxxxxxxxxxxx>:
>> One thing you could to is use trace_printk() and use ftrace to debug
>> perf.
>
> That should still work.
I will try it, thanks.
But seems ftrace can't dump out the messages if system hangs, so could
we introduce a smart and simple "printk" which can be used in any
contexts?
thanks,
--
Lei Ming
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/