Re: The case for a standard kernel debugger

From: Andrew Morton (andrewm@uow.edu.au)
Date: Thu Sep 14 2000 - 06:32:19 EST


Frederic Magniette wrote:
>
> This can be really awful if your code is called very often and then saturate the
> logs.

One trick you can pull is:

        if (current->uid == 9999)
                printk(stuff);

and then exercise the offending code path as user 9999. It
works for some things.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:23 EST