lkml.org 
[lkml]   [2012]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/3] tools lib traceevent: Get rid of die() from pretty_print()
From
Date
On Fri, 2012-09-07 at 11:49 +0900, Namhyung Kim wrote:
> From: Namhyung Kim <namhyung.kim@lge.com>
>
> There are three cases that call die() in the pretty_print.
>
> 1. insufficient number of argument: cannot proceed anymore.
> 2. too long format conversion specifier: truncate and proceed.
> 3. bad size specifier in format string: skip and proceed.
>
> For all cases, convert die to do_warning, mark the event as
> EVENT_FL_FAILED and print error message at the last.
>
> Cc: Frederic Weisbecker <fweisbec@gmail.com>
> Cc: Steven Rostedt <rostedt@goodmis.org>
> Signed-off-by: Namhyung Kim <namhyung@kernel.org>

Thanks Namyung!

Arnaldo,

Please add my "Acked-by: Steven Rostedt <rostedt@goodmis.org>" to all
three of these patches.

-- Steve




\
 
 \ /
  Last update: 2012-09-07 17:22    [W:0.219 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site