diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2013-12-12 11:36:17 +0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-12-18 21:47:58 +0400 |
commit | bf19b82e7cf033319525a9eab12216b59c41c519 (patch) | |
tree | 9bd8cd68ac548688e4291340110e3433a66aae34 /tools/perf | |
parent | f1cbf78d175e6202a29f53a7f915520e40a37baf (diff) | |
download | linux-bf19b82e7cf033319525a9eab12216b59c41c519.tar.xz |
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>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions