User Tools

Site Tools

Translations of this page:
en

en:bpi-r64:kernel

Kernel

make-command

debug

dev_info(gsw->dev,"%s:%d 0x%x",__FUNCTION__,__LINE__,val);
printk(KERN_ALERT "DEBUG: Passed %s %d \n",__FUNCTION__,__LINE__);
#define onelinedbg(dev,fmt,...) {if (dev) dev_info(dev,"%s:%d " fmt,__FUNCTION__,__LINE__,##__VA_ARGS__);else printk(KERN_INFO "%s:%d " fmt,__FUNCTION__,__LINE__,##__VA_ARGS__);}

makefile:

$(info $$var is [${var}])

Discussion

en/bpi-r64/kernel.txt · Last modified: 2019/10/29 13:18 by frank