[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F5E1BA4.2000209@gmail.com>
Date: Mon, 12 Mar 2012 09:52:04 -0600
From: David Ahern <dsahern@...il.com>
To: Namhyung Kim <namhyung.kim@....com>
CC: Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
Ingo Molnar <mingo@...e.hu>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Paul Mackerras <paulus@...ba.org>,
Namhyung Kim <namhyung@...il.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists