summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/event.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2019-02-06 12:39:47 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-02-06 11:20:32 -0300
commit16bd4321c2425d37031a902cdbf183e2cd099946 (patch)
tree4c8b88ab0a04d2d9e32470bb7781300342dad8a6 /tools/perf/util/event.h
parent26ee2bcdea33c60aa833cc32a1624ef5d49c9c6f (diff)
downloadblackbird-op-linux-16bd4321c2425d37031a902cdbf183e2cd099946.tar.gz
blackbird-op-linux-16bd4321c2425d37031a902cdbf183e2cd099946.zip
perf auxtrace: Add timestamp to auxtrace errors
The timestamp can use useful to find part of a trace that has an error without outputting all of the trace e.g. using the itrace 's' option to skip initial number of events. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/20190206103947.15750-6-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/event.h')
-rw-r--r--tools/perf/util/event.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h
index feba1aa819b4..36ae7e92dab1 100644
--- a/tools/perf/util/event.h
+++ b/tools/perf/util/event.h
@@ -532,8 +532,9 @@ struct auxtrace_error_event {
u32 cpu;
u32 pid;
u32 tid;
- u32 reserved__; /* For alignment */
+ u32 fmt;
u64 ip;
+ u64 time;
char msg[MAX_AUXTRACE_ERROR_MSG];
};
OpenPOWER on IntegriCloud