summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/topdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/topdown.c')
-rw-r--r--tools/perf/util/topdown.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/perf/util/topdown.c b/tools/perf/util/topdown.c
new file mode 100644
index 0000000000..18fd5fed5d
--- /dev/null
+++ b/tools/perf/util/topdown.c
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
+#include "topdown.h"
+#include <linux/kernel.h>
+
+__weak bool arch_topdown_sample_read(struct evsel *leader __maybe_unused)
+{
+ return false;
+}