diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2015-04-09 11:53:47 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-04-29 09:37:52 -0400 |
commit | e9bf54d25f4f64c410c2aca644749a3325b96f5a (patch) | |
tree | ae62523152ec2bdfa206eae2677e110c121c100f /tools/perf/util/tool.h | |
parent | e9db1310d95c9d02763643108d51e47d9eb79ac9 (diff) |
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>
Diffstat (limited to 'tools/perf/util/tool.h')
-rw-r--r-- | tools/perf/util/tool.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/tool.h b/tools/perf/util/tool.h index 0146f8ef5cc3..20afe19a8eb0 100644 --- a/tools/perf/util/tool.h +++ b/tools/perf/util/tool.h | |||
@@ -50,7 +50,8 @@ struct perf_tool { | |||
50 | event_oe finished_round; | 50 | event_oe finished_round; |
51 | event_op2 build_id, | 51 | event_op2 build_id, |
52 | id_index, | 52 | id_index, |
53 | auxtrace_info; | 53 | auxtrace_info, |
54 | auxtrace_error; | ||
54 | event_op3 auxtrace; | 55 | event_op3 auxtrace; |
55 | bool ordered_events; | 56 | bool ordered_events; |
56 | bool ordering_requires_timestamps; | 57 | bool ordering_requires_timestamps; |