The HyperNews Linux KHG Discussion Pages

Question: How to turn ON the DEBUG option?

Forum: The Linux Kernel Hackers' Guide
Keywords: DEBUG
Date: Wed, 08 Oct 1997 04:04:49 GMT
From: <sdesai@titan.fullerton.edu>

thanks for your time.

In some source files, I see some compiler directives such as

                 #ifdef DEBUG
                         (do certain thing - maybe printk())
                 #else 
                          (do something else)
                 #endif 

The question is how do you turn ON the DEBUG option so that the messages are printed on the screen using printk().

thanks again. saurabh desai