lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 16 Nov 2007 15:42:51 -0800 (PST)
From:	David Miller <>
Subject: Re: [PATCH 2/7] CAN: Add PF_CAN core module

From: Urs Thuermann <>
Date: 16 Nov 2007 15:33:08 +0100

> I am not aware of any useful kernel facilities to replace our debug
> macros, i.e. printing of debug messages, controlled by a bit mask
> passed in as a module parameter, hexdumping of fames, etc.  Of course,
> there are other things like kprobes but sometimes printk(KERN_DEBUG...)
> is more convenient and that's why people write their own DBG() macros.

At the simplest level there is pr_debug() which replaces the
usual "print if DEBUG is defined" that lots of people use.

For device drivers we have something similar in dev_vdbg() et

For bitmask based enabling yes it would be nice if there were
something more.  But you can also get this behavior by using
DEBUG, the above interfaces, and adjusting the kernel log level
to suit what you're trying to view.
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists