perf tools: Add a user event for AUX area tracing errors
Errors encountered when decoding an AUX area trace need to be reported to the user. However the "user" might be a script or another tool, so provide a new user event to capture those errors. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1428594864-29309-8-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:

committed by
Arnaldo Carvalho de Melo

parent
e9db1310d9
commit
e9bf54d25f
@@ -31,6 +31,7 @@ static const char *perf_event__names[] = {
|
||||
[PERF_RECORD_ID_INDEX] = "ID_INDEX",
|
||||
[PERF_RECORD_AUXTRACE_INFO] = "AUXTRACE_INFO",
|
||||
[PERF_RECORD_AUXTRACE] = "AUXTRACE",
|
||||
[PERF_RECORD_AUXTRACE_ERROR] = "AUXTRACE_ERROR",
|
||||
};
|
||||
|
||||
const char *perf_event__name(unsigned int id)
|
||||
|
Reference in New Issue
Block a user