summaryrefslogtreecommitdiff
path: root/tools/perf/util/strbuf.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung.kim@lge.com>2012-09-07 11:49:45 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-09-07 12:14:30 -0300
commit245c5a18433090da0e1a799bdb0faa78552b5992 (patch)
tree96dcb05214f91cb66cfde7a07ba0f8a561a598c5 /tools/perf/util/strbuf.c
parent9a2936878a198553a17d21d1e843aa574ad9fa38 (diff)
tools lib traceevent: Get rid of die() from pretty_print()
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. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Acked-by: Steven Rostedt <rostedt@goodmis.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Steven Rostedt <rostedt@goodmis.org> Link: http://lkml.kernel.org/r/1346986187-5170-1-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/strbuf.c')
0 files changed, 0 insertions, 0 deletions