]> Git Repo - linux.git/commit
tools lib traceevent: Introduce pevent_filter_strerror()
authorNamhyung Kim <[email protected]>
Thu, 12 Dec 2013 07:36:17 +0000 (16:36 +0900)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 18 Dec 2013 17:47:58 +0000 (14:47 -0300)
commitbf19b82e7cf033319525a9eab12216b59c41c519
tree9bd8cd68ac548688e4291340110e3433a66aae34
parentf1cbf78d175e6202a29f53a7f915520e40a37baf
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]>
tools/lib/traceevent/event-parse.c
tools/lib/traceevent/event-parse.h
tools/lib/traceevent/parse-filter.c
This page took 0.046065 seconds and 4 git commands to generate.