lkml.org 
[lkml]   [2012]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: ehci dynamic debug problem
    On Mon, Apr 16, 2012 at 11:54:24AM -0400, Jason Baron wrote:
    > On Fri, Apr 13, 2012 at 09:03:11PM +0200, Johannes Stezenbach wrote:
    > >
    > > Does dynamic debug offer an "is the message two lines below enabled" test?
    > >
    >
    > Sorry was away for a bit...
    >
    > dynamic debug doesn't offer any is enabled test, its hidden from the
    > user. That said, in this case, you can delay the printing to the buffer
    > with:
    ...
    > + ehci_dbg (ehci, "%s\n", dbg_port_buf (_buf, sizeof _buf, label, port, status)); \

    I think arguments are evaluated before dev_dbg is called so this
    won't help.


    Thanks
    Johannes


    \
     
     \ /
      Last update: 2012-04-16 18:45    [W:0.021 / U:92.796 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site