aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/perf/util/auxtrace.c1
-rw-r--r--tools/perf/util/auxtrace.h1
2 files changed, 2 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,
884 fprintf(stdout, " type: %u\n", type); 884 fprintf(stdout, " type: %u\n", type);
885 885
886 switch (type) { 886 switch (type) {
887 case PERF_AUXTRACE_INTEL_PT:
887 case PERF_AUXTRACE_UNKNOWN: 888 case PERF_AUXTRACE_UNKNOWN:
888 default: 889 default:
889 return -EINVAL; 890 return -EINVAL;
diff --git a/tools/perf/util/auxtrace.h b/tools/perf/util/auxtrace.h
index 471aecbc4d68..7d12f33a3a06 100644
--- a/tools/perf/util/auxtrace.h
+++ b/tools/perf/util/auxtrace.h
@@ -39,6 +39,7 @@ struct events_stats;
39 39
40enum auxtrace_type { 40enum auxtrace_type {
41 PERF_AUXTRACE_UNKNOWN, 41 PERF_AUXTRACE_UNKNOWN,
42 PERF_AUXTRACE_INTEL_PT,
42}; 43};
43 44
44enum itrace_period_type { 45enum itrace_period_type {