lkml.org 
[lkml]   [2012]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 0/5] dev_<level> and dynamic_debug cleanups
    On Sun, Aug 26, 2012 at 5:25 AM, Joe Perches <joe@perches.com> wrote:
    > The recent commit to fix dynamic_debug was a bit unclean.
    > Neaten the style for dynamic_debug.
    > Reduce the stack use of message logging that uses netdev_printk
    > Add utility functions dev_printk_emit and dev_vprintk_emit for /dev/kmsg.
    >
    > Joe Perches (5):
    > dev_dbg/dynamic_debug: Update to use printk_emit, optimize stack
    > netdev_printk/dynamic_netdev_dbg: Directly call printk_emit
    > netdev_printk/netif_printk: Remove a superfluous logging colon
    > dev: Add dev_vprintk_emit and dev_printk_emit
    > device and dynamic_debug: Use dev_vprintk_emit and dev_printk_emit
    >

    Ive tested this on 2 builds differing only by DYNAMIC_DEBUG
    It works for me on x86-64

    However, I just booted a non-dyndbg build on x86-32, and got this.


    root@voyage:~# dmesg | grep Unknown
    mac80211: Unknown symbol __dynamic_dev_dbg (err 0)
    mac80211: Unknown symbol __dynamic_pr_debug (err 0)
    scx200_acb: Unknown symbol __dynamic_dev_dbg (err 0)
    scx200_acb: Unknown symbol __dynamic_pr_debug (err 0)
    hwmon: Unknown symbol __dynamic_dev_dbg (err 0)
    nsc_gpio: Unknown symbol __dynamic_dev_dbg (err 0)
    nsc_gpio: Unknown symbol __dynamic_dev_dbg (err 0)
    root@voyage:~#

    It may be my error, will investigate asap,
    but wanted to report now.

    thanks


    \
     
     \ /
      Last update: 2012-08-30 20:21    [W:9.005 / U:0.124 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site