summaryrefslogtreecommitdiff
path: root/tools/perf/tests/perf-time-to-tsc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/perf-time-to-tsc.c')
-rw-r--r--tools/perf/tests/perf-time-to-tsc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/tests/perf-time-to-tsc.c b/tools/perf/tests/perf-time-to-tsc.c
index c3aaa1ddff29..efcd71c2738a 100644
--- a/tools/perf/tests/perf-time-to-tsc.c
+++ b/tools/perf/tests/perf-time-to-tsc.c
@@ -20,6 +20,7 @@
#include "tsc.h"
#include "mmap.h"
#include "tests.h"
+#include "util/sample.h"
/*
* Except x86_64/i386 and Arm64, other archs don't support TSC in perf. Just