SLUG Mailing List Archives
Re: [SLUG] What level printk?
- To: james@xxxxxxxxxxxxxxxxxx
- Subject: Re: [SLUG] What level printk?
- From: Anand Kumria <akumria@xxxxxxxxxxx>
- Date: Mon Aug 13 01:12:01 2001
- Cc: slug@xxxxxxxxxxx
- Reply-to: slug@xxxxxxxxxxx
- User-agent: Mutt/1.2i
On Sun, Aug 12, 2001 at 01:25:04AM +1000, james@xxxxxxxxxxxxxxxxxx wrote:
> I'm trying to learn more about the Internet Protocol Suite implementation in
> Linux. I want to add a bunch of printk's in the kernel's TCP/IP code,
> recompile the kernel and watch what happens. It prints what function it's
What about using user-mode-linux(.sf.net) which would mean you have
available gdb and friends? Far friendly and less re-booting required.
> in, dumps variables to a log file etc, you know, your standard debug prints.
> What level of printing should I use in printk? I hear anything less than a
> certain level and I won't see it in my terminal window. If it helps I will
I think it is 7; but that is just a guess. printk.c has all the details.