]> git.baikalelectronics.ru Git - kernel.git/commit
tools lib traceevent: Do not call warning() directly
authorNamhyung Kim <namhyung@kernel.org>
Wed, 19 Mar 2014 01:22:54 +0000 (10:22 +0900)
committerJiri Olsa <jolsa@redhat.com>
Mon, 14 Apr 2014 10:55:00 +0000 (12:55 +0200)
commit5969bbf428dd192565b65dc611e16da37d7e8c5d
treeef008be3e4fcb393e4324251e3e1ff310f76e1cf
parent8ae19c097ce7d52238aea3564f2efa5002270fe8
tools lib traceevent: Do not call warning() directly

The patch 0c8eb42f7518c ("tools lib traceevent: Report better error
message on bad function args") added the error message but it seems
there's no reason to call warning() directly.

So change it to do_warning_event() to provide event information too.

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: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1395192174-26273-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
tools/lib/traceevent/event-parse.c