OpenCloudOS-Kernel/tools/lib/traceevent
Namhyung Kim 9e9e5dfd86 tools lib traceevent: Do not call warning() directly
The patch 3a3ffa2e82 ("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>
2014-04-14 12:55:00 +02:00
..
.gitignore tools lib traceevent: Ignore TRACEEVENT-CFLAGS file 2012-07-25 11:54:44 -03:00
Makefile perf tools: Fix traceevent plugin path definitions 2014-01-23 15:48:12 -03:00
event-parse.c tools lib traceevent: Do not call warning() directly 2014-04-14 12:55:00 +02:00
event-parse.h tools lib traceevent: Add pevent_unregister_print_function() 2014-01-16 16:26:24 -03:00
event-plugin.c tools lib traceevent: Make plugin unload function receive pevent 2014-01-15 15:10:40 -03:00
event-utils.h tools lib traceevent: Get rid of die() finally!! 2014-01-15 15:10:36 -03:00
kbuffer-parse.c tools lib traceevent: Port kbuffer parser routines 2013-07-12 13:52:16 -03:00
kbuffer.h tools lib traceevent: Port kbuffer parser routines 2013-07-12 13:52:16 -03:00
parse-filter.c tools lib traceevent: Introduce pevent_filter_strerror() 2013-12-18 14:47:58 -03:00
parse-utils.c tools lib traceevent: Get rid of die() finally!! 2014-01-15 15:10:36 -03:00
plugin_cfg80211.c tools lib traceevent: Unregister handler when cfg80211 plugin is unloaded 2014-01-16 16:26:25 -03:00
plugin_function.c tools lib traceevent: Unregister handler when function plugin is unloaded 2014-01-16 16:26:24 -03:00
plugin_hrtimer.c tools lib traceevent: Unregister handler when hrtimer plugin is unloaded 2014-01-16 16:26:24 -03:00
plugin_jbd2.c tools lib traceevent: Unregister handler when jbd2 plugin is is unloaded 2014-01-16 16:26:25 -03:00
plugin_kmem.c tools lib traceevent: Unregister handler when kmem plugin is unloaded 2014-01-16 16:26:24 -03:00
plugin_kvm.c tools lib traceevent: Unregister handler when kvm plugin is unloaded 2014-01-16 16:26:24 -03:00
plugin_mac80211.c tools lib traceevent: Unregister handler when mac80211 plugin is unloaded 2014-01-16 16:26:25 -03:00
plugin_sched_switch.c tools lib traceevent: Unregister handler when sched_switch plugin is unloaded 2014-01-16 16:26:25 -03:00
plugin_scsi.c tools lib traceevent: Unregister handler when scsi plugin is unloaded 2014-01-16 16:26:25 -03:00
plugin_xen.c tools lib traceevent: Unregister handler when xen plugin is unloaded 2014-01-16 16:26:25 -03:00
trace-seq.c tools lib traceevent: Get rid of malloc_or_die() in trace_seq_init() 2014-01-15 15:10:32 -03:00