Set of macro for debugging facilities.
|
Kernel logs |
#define | liso_err(format, arg...) printk(KERN_ERR "lisodsp: " format "\n" , ## arg) |
| Kernel error level log.
|
#define | liso_info(format, arg...) printk(KERN_INFO "lisodsp: " format "\n" , ## arg) |
| Kernel info level log.
|
#define | liso_warn(format, arg...) printk(KERN_WARNING "lisodsp: " format "\n" , ## arg) |
| Kernel warning level log.
|
#define | liso_dbg(format, arg...) |
| Kernel debug level log.
|
#define | liso_print printk |
| Kernel print.
|
Enter/Leave a function. |
#define | liso_enter() |
| Enter a function.
|
#define | liso_return(CODE) |
| Leave a function with a value.
|
#define | liso_return_void(CODE) |
| Leave a function without return value.
|
#define | liso_leave(CODE) liso_return(CODE) |
#define | liso_leave_void() liso_return_void() |
Magic number test |
#define | liso_test_magic(OBJ) (!OBJ || /* IS_ERR(OBJ) || */ OBJ->magic != OBJ) |
| Test object magic value.
|
#define | liso_test_magic_or_returns(OBJ, NAME) |
| Test object magic value or exit with -EINVAL.
|
Defines |
#define | TABS_MSK (sizeof(tabs_str)-1) |
Variables |
int | debug |
| Current debug level.
|
int | tabs |
| Current tabulation.
|
const char | tabs_str [8] |
| Tabulation string.
|