summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/auxtrace.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2017-05-26 10:17:24 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-06-27 17:09:20 +0200
commit3bdafdffa9baf2b34aebad1c98bc17b50202cb78 (patch)
tree725631920fc13703b9378efbb0265a7ba0d58804 /tools/perf/util/auxtrace.h
parenttools include: Add byte-swapping macros to kernel.h (diff)
downloadlinux-3bdafdffa9baf2b34aebad1c98bc17b50202cb78.tar.xz
linux-3bdafdffa9baf2b34aebad1c98bc17b50202cb78.zip
perf auxtrace: Add itrace option to output ptwrite events
Add itrace option to output ptwrite events. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Link: http://lkml.kernel.org/r/1495786658-18063-24-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 9f0de72d58e2..b48afb2f18f3 100644
--- a/tools/perf/util/auxtrace.h
+++ b/tools/perf/util/auxtrace.h
@@ -59,6 +59,7 @@ enum itrace_period_type {
* @instructions: whether to synthesize 'instructions' events
* @branches: whether to synthesize 'branches' events
* @transactions: whether to synthesize events for transactions
+ * @ptwrites: whether to synthesize events for ptwrites
* @errors: whether to synthesize decoder error events
* @dont_decode: whether to skip decoding entirely
* @log: write a decoding log
@@ -79,6 +80,7 @@ struct itrace_synth_opts {
bool instructions;
bool branches;
bool transactions;
+ bool ptwrites;
bool errors;
bool dont_decode;
bool log;