linux kernel - Can I printk in binary? -


i have bitmap need debug, , easier me printk number in binary rather decimal. can this?

there function print binary value in arch/parisc/kernel/traps.c, called printbinary(). can copy code (or link if happen on parisc). better still move somewhere generic in kernel tree, eg. lib, , send patch lkml.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -