hi, Add the ability to dynamically enable/disable pr_debug()/dev_dbg() in the kernel. Yes, these calls could be converted to printk(KERN_DEBUG), but there are enough to cause overhead. Additionally, the logs become difficult to read. Here, one can turn on and off these messages per .c source file via: echo "add file.c" > /sys/kernel/debug/dynamic_printk/files echo "remove file.c" > /sys/kernel/debug/dynamic_printk/files There is also a special 'all' value that turns on all the debugging messages. I hope that these patches are useful for people writing new kernel code, for system debugging and testing. In enabling the 'all' feature on the kernel I was running i got a bunch of messages... (i'm not sure what they mean, but they could point out an error or a kernel optimization that could be made, which I didn't necessarily know about otherwise). thanks, -Jason Apr 1 10:33:38 dhcp83-106 kernel: Already setup manip DST for ct ffff81007d800140 Apr 1 10:33:38 dhcp83-106 kernel: Already setup manip SRC for ct ffff81007d800140 Apr 1 10:33:38 dhcp83-106 kernel: Already setup manip DST for ct ffff81007d800a00 Apr 1 10:33:38 dhcp83-106 kernel: Already setup manip SRC for ct ffff81007d800a00 Apr 1 10:33:39 dhcp83-106 kernel: Already setup manip DST for ct ffff81007d800a00 Apr 1 10:33:39 dhcp83-106 kernel: Already setup manip SRC for ct ffff81007d800a00 Apr 1 10:33:39 dhcp83-106 kernel: Already setup manip DST for ct ffff81007d800a00 Apr 1 10:33:39 dhcp83-106 kernel: Already setup manip SRC for ct ffff81007d800a00 Apr 1 10:33:40 dhcp83-106 kernel: Already setup manip DST for ct ffff810071851dc0 Apr 1 10:33:40 dhcp83-106 kernel: Already setup manip SRC for ct ffff810071851dc0 Apr 1 10:33:40 dhcp83-106 kernel: Already setup manip DST for ct ffff81007d800a00 Apr 1 10:33:40 dhcp83-106 kernel: Already setup manip SRC for ct ffff81007d800a00 --
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Greg KH | Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan... |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Parag Warudkar | BUG: soft lockup - CPU#1 stuck for 15s! [swapper:0] |
git: | |
| Jakub Narebski | Re: VCS comparison table |
| Jakub Narebski | Git User's Survey 2007 unfinished summary continued |
| Linus Torvalds | I'm a total push-over.. |
| Marco Costalba | Decompression speed: zip vs lzo |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Bill Chmura | SSL Certs on Carp'd web servers |
| Denys Fedoryshchenko | thousands of classes, e1000 TX unit hang |
| Steve French | Fwd: [PATCH] Fix CIFS compilation with CONFIG_KEYS unset |
| Jens Axboe | Re: [BUG] New Kernel Bugs |
| KOSAKI Motohiro | [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Treason Uncloaked | 3 hours ago | Linux kernel |
| Shared swap partition | 14 hours ago | Linux general |
| high memory | 2 days ago | Linux kernel |
| semaphore access speed | 2 days ago | Applications and Utilities |
| the kernel how to power off the machine | 2 days ago | Linux kernel |
| Easter Eggs in windows XP | 2 days ago | Windows |
| Root password | 2 days ago | Linux general |
| Where/when DNOTIFY is used? | 2 days ago | Linux kernel |
| How to convert Linux Kernel built-in module into a loadable module | 2 days ago | Linux kernel |
| Linux 2.6.24 and I/O schedulers | 2 days ago | Linux kernel |
