mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-23 20:33:23 +00:00
debug信息会输出行号和文件名
This commit is contained in:
@ -32,7 +32,7 @@
|
|||||||
#define kdebug(...) \
|
#define kdebug(...) \
|
||||||
do \
|
do \
|
||||||
{ \
|
{ \
|
||||||
printk("[ DEBUG ] "); \
|
printk("[ DEBUG ] (%s:%d)\t", __FILE__, __LINE__); \
|
||||||
printk(__VA_ARGS__); \
|
printk(__VA_ARGS__); \
|
||||||
printk("\n"); \
|
printk("\n"); \
|
||||||
} while (0);
|
} while (0);
|
||||||
|
Reference in New Issue
Block a user