diff options
author | Namhyung Kim <[email protected]> | 2014-03-19 10:22:54 +0900 |
---|---|---|
committer | Jiri Olsa <[email protected]> | 2014-04-14 12:55:00 +0200 |
commit | 9e9e5dfd86b9fdea8c75bae42cba052901b94f78 (patch) | |
tree | ef008be3e4fcb393e4324251e3e1ff310f76e1cf /tools/perf/util/trace-event-scripting.c | |
parent | 3388cc3eb848154d0f2a0cd01542201d0d0fdad7 (diff) |
tools lib traceevent: Do not call warning() directly
The patch 3a3ffa2e82205 ("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 <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions