Printk output on console

From: srinivas naga vutukuri
Date: Tue Dec 21 2004 - 04:26:54 EST


Hi Selva,

I understood the question as where all/what all printks (with
line nos and the file names)
you are looking for is it. I think, in a normal printf using the
macros __FILE__ and __LINE__ will give that...

ex:
printk(KERN_ERR "%s: Driver Initialisation failed", __FILE__);
Is this helpful...

Regards,
srinivas.
-
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/