lists.openwall.net   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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 15 Mar 2009 17:39:32 -0700
From:	Greg KH <greg@...ah.com>
To:	Michael Ellerman <michael@...erman.id.au>
Cc:	Jaswinder Singh Rajput <jaswinder@...nel.org>,
	Matthew Wilcox <matthew@....cx>,
	linux-pci <linux-pci@...r.kernel.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: more than 50 percent of dmesg belongs only to PCI and USB

On Mon, Mar 16, 2009 at 10:28:49AM +1100, Michael Ellerman wrote:
> On Sat, 2009-03-14 at 13:11 +0530, Jaswinder Singh Rajput wrote:
> > Can we make dmesg little bit better and remove some noise and put these
> > debug messages on /sys/kernel/debug/ :
> 
> I think they should just be KERN_DEBUG, that way they won't be displayed
> to most users, except people who want to see them.
> 
> The problem is it's easier to write:
> 
>   dev_info(&dev->dev, "transparent bridge\n");
> 
> than:
> 
>   dev_printk(KERN_DEBUG, &dev->dev, "transparent bridge\n");
> 
> and, dev_dbg() does not do what you want in this case.

Why not?  It prints it out if you enable the config option at run-time,
which is what you want.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ