linux_dsm_epyc7002/tools/lib/traceevent
Namhyung Kim bf19b82e7c tools lib traceevent: Introduce pevent_filter_strerror()
The pevent_filter_strerror() function is for receiving actual error
message from pevent_errno value.  To do that, add a static buffer to
event_filter for saving internal error message

If a failed function saved other information in the static buffer
returns the information, otherwise returns generic error message.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1386833777-3790-15-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-12-18 14:47:58 -03:00
..
.gitignore tools lib traceevent: Ignore TRACEEVENT-CFLAGS file 2012-07-25 11:54:44 -03:00
event-parse.c tools lib traceevent: Introduce pevent_filter_strerror() 2013-12-18 14:47:58 -03:00
event-parse.h tools lib traceevent: Introduce pevent_filter_strerror() 2013-12-18 14:47:58 -03:00
event-plugin.c tools lib traceevent: Remove malloc_or_die from event-plugin.c 2013-12-04 15:35:48 -03:00
event-utils.h tools lib traceevent: Update FSF postal address to be URL's. 2013-01-24 16:40:17 -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
Makefile tools lib traceevent: Add cfg80211 plugin 2013-12-04 15:35:27 -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: Add copyright header 2013-01-24 16:40:17 -03:00
plugin_cfg80211.c tools lib traceevent: Add cfg80211 plugin 2013-12-04 15:35:27 -03:00
plugin_function.c tools lib traceevent: Remove malloc_or_die from plugin_function.c 2013-12-04 15:37:58 -03:00
plugin_hrtimer.c tools lib traceevent: Use pevent_print_func_field in hrtimer_start handler 2013-12-04 15:36:50 -03:00
plugin_jbd2.c tools lib traceevent: Use static functions in jbd2 plugin 2013-12-04 15:36:24 -03:00
plugin_kmem.c tools lib traceevent: Add kmem plugin 2013-12-04 15:26:05 -03:00
plugin_kvm.c tools lib traceevent: Update kvm plugin with is_writable_pte helper 2013-12-04 15:38:14 -03:00
plugin_mac80211.c tools lib traceevent: Add mac80211 plugin 2013-12-04 15:30:36 -03:00
plugin_sched_switch.c tools lib traceevent: Add sched_switch plugin 2013-12-04 15:31:11 -03:00
plugin_scsi.c tools lib traceevent: Add scsi plugin 2013-12-04 15:34:51 -03:00
plugin_xen.c tools lib traceevent: Add xen plugin 2013-12-04 15:34:04 -03:00
trace-seq.c tools lib traceevent: Add trace_seq_reset() 2013-07-12 13:52:12 -03:00