android_kernel_samsung_msm8976/tools/lib/traceevent
Namhyung Kim 2f197b9d7e tools lib traceevent: Introduce pevent_strerror
The pevent_strerror() sets @buf to a string that describes the
(libtraceevent-specific) error condition that is passed via @errnum.

This is similar to strerror_r() and does same thing if @errnum has a
standard errno value.

To sync error string with its code, define PEVENT_ERRORS with _PE()
macro and use it as suggested by Steven.

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/1345618831-9148-4-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2012-08-22 16:03:39 -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_strerror 2012-08-22 16:03:39 -03:00
event-parse.h tools lib traceevent: Introduce pevent_strerror 2012-08-22 16:03:39 -03:00
event-utils.h
Makefile tools lib traceevent: Detect build environment changes 2012-07-25 11:54:06 -03:00
parse-filter.c tools lib traceevent: Cleanup realloc use 2012-07-04 13:40:31 +09:00
parse-utils.c
trace-seq.c