lkml.org 
[lkml]   [2012]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFD] perf: Integrate logging facilities
    On 3/12/12 3:58 AM, Namhyung Kim wrote:
    > This is a rough idea and there can be things I am missing. So I need to
    > listen to your advices.

    What Arnaldo proposed was having core, library code return error codes
    and not print anything to the user. Higher layers (commands only?) can
    take the return error code and pass it to perf_<subsystem>_strerror() to
    dump a user friendly string for the error. See

    http://lkml.org/lkml/2012/2/13/302

    David


    \
     
     \ /
      Last update: 2012-03-12 16:55    [W:0.021 / U:1.884 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site