lkml.org 
[lkml]   [2007]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC] New kernel-message logging API
    From
    Date
    On Sat, 2007-09-22 at 21:27 +0200, Vegard Nossum wrote:
    > #define kprint(fmt, ...)

    Good ideas. Perhaps a prefix of klog or kp_ instead?
    Given the number of 80 column zealots, character naming length matters.

    > Additionally, this would allow the compiler to completely optimize out
    > calls that are below a certain log-level severity level [2][3].

    Severity doesn't really equate to desire to log.
    I'd prefer arbitrary control of log levels.

    cheers, Joe

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

    \
     
     \ /
      Last update: 2007-09-23 02:15    [W:0.021 / U:29.980 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site