aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/auxtrace.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2015-04-30 10:37:28 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-05-05 17:12:55 -0400
commit53c76b0e9ed5ed1f00371160f0be60402acba165 (patch)
treee04ff300ba98a33bdef77d1e13fa65244d1cc68a /tools/perf/util/auxtrace.h
parente31f0d017ea19fce9f12f084e1c750a0e3b43680 (diff)
perf auxtrace: Add option to synthesize events for transactions
Add AUX area tracing option 'x' to synthesize events for transactions. This will be used by Intel PT to synthesize an event record for each TSX start, commit or abort. 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/1430404667-10593-6-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/auxtrace.h')
-rw-r--r--tools/perf/util/auxtrace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/auxtrace.h b/tools/perf/util/auxtrace.h
index 77b46994e8ea..8c6cbb123fe5 100644
--- a/tools/perf/util/auxtrace.h
+++ b/tools/perf/util/auxtrace.h
@@ -54,6 +54,7 @@ enum itrace_period_type {
54 * because 'perf inject' will write it out 54 * because 'perf inject' will write it out
55 * @instructions: whether to synthesize 'instructions' events 55 * @instructions: whether to synthesize 'instructions' events
56 * @branches: whether to synthesize 'branches' events 56 * @branches: whether to synthesize 'branches' events
57 * @transactions: whether to synthesize events for transactions
57 * @errors: whether to synthesize decoder error events 58 * @errors: whether to synthesize decoder error events
58 * @dont_decode: whether to skip decoding entirely 59 * @dont_decode: whether to skip decoding entirely
59 * @log: write a decoding log 60 * @log: write a decoding log
@@ -69,6 +70,7 @@ struct itrace_synth_opts {
69 bool inject; 70 bool inject;
70 bool instructions; 71 bool instructions;
71 bool branches; 72 bool branches;
73 bool transactions;
72 bool errors; 74 bool errors;
73 bool dont_decode; 75 bool dont_decode;
74 bool log; 76 bool log;