summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/auxtrace.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2015-07-17 19:33:36 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-08-17 11:11:36 -0300
commit55ea4ab4260f42b824450faa47fe4d129fce0918 (patch)
treeeeb63f8504532e61f42bf288ddc811fe42d1ceba /tools/perf/util/auxtrace.c
parent835095653ebfe4b16596a30db1c4e7c414014b5e (diff)
downloadtalos-obmc-linux-55ea4ab4260f42b824450faa47fe4d129fce0918.tar.gz
talos-obmc-linux-55ea4ab4260f42b824450faa47fe4d129fce0918.zip
perf auxtrace: Add Intel PT as an AUX area tracing type
Add the Intel Processor Trace type constant PERF_AUXTRACE_INTEL_PT. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/1437150840-31811-2-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/auxtrace.c')
-rw-r--r--tools/perf/util/auxtrace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/auxtrace.c b/tools/perf/util/auxtrace.c
index a25b3609cef8..49dbfbeedb68 100644
--- a/tools/perf/util/auxtrace.c
+++ b/tools/perf/util/auxtrace.c
@@ -884,6 +884,7 @@ int perf_event__process_auxtrace_info(struct perf_tool *tool __maybe_unused,
fprintf(stdout, " type: %u\n", type);
switch (type) {
+ case PERF_AUXTRACE_INTEL_PT:
case PERF_AUXTRACE_UNKNOWN:
default:
return -EINVAL;
OpenPOWER on IntegriCloud