Re: [PATCH v3 2/2] Make hard lockup detection use timestamps

From: ZAK Magnus
Date: Mon Aug 01 2011 - 14:33:43 EST


Okay... So this is a problem we need to solve. Does there exist a good
way to output a stack trace to, say, a file in /proc? I think that
would be an appealing solution, if doable.

On Mon, Aug 1, 2011 at 5:52 AM, Don Zickus <dzickus@xxxxxxxxxx> wrote:
> On Fri, Jul 29, 2011 at 04:12:32PM -0700, ZAK Magnus wrote:
>> Are you saying that any call to printk() will touch the watchdogs? I
>> wasn't aware of that and it doesn't seem to comply with my
>> observations too well, either. Then again, at the moment I don't
>> understand some of the things I'm currently seeing so I could just be
>> wrong.
>
> I believe the serial console write is the source of all the
> touch_nmi_watchdogs that result from a printk.
>
> drivers/tty/serial/8250.c::serial8250_console_write()
>
> Cheers,
> Don
>
--
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/