Debug only with printk ?

From: Dragoslav Zaric
Date: Tue Apr 28 2009 - 17:27:54 EST


Hello,

I am relatively new in linux kernel and since debugging is key
element of programming, I am wondering is it really necessary
to use various debugging tools for kernel debugging ?

Is simple printing with printk enough to debug any kind of kernel problem,
and if not, what are the cases when printk is not enough ?

Also, is there possibility when using debugging tools to affect
kernel environment, because debugging tool will also take cpu time and
memory resources ?

thanks

Dragoslav Zaric
[Programmer; M Sc Astrophysics]
--
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/