diff options
| author | Namhyung Kim <[email protected]> | 2013-12-12 07:36:17 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-12-18 17:47:58 +0000 |
| commit | bf19b82e7cf033319525a9eab12216b59c41c519 (patch) | |
| tree | 9bd8cd68ac548688e4291340110e3433a66aae34 /tools/perf/builtin-annotate.c | |
| parent | perf hists: Do not pass period and weight to add_hist_entry() (diff) | |
| download | kernel-bf19b82e7cf033319525a9eab12216b59c41c519.tar.gz kernel-bf19b82e7cf033319525a9eab12216b59c41c519.zip | |
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 <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[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]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions
