summaryrefslogtreecommitdiff
path: root/tools/perf/arch/x86/util/topdown.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/x86/util/topdown.h')
-rw-r--r--tools/perf/arch/x86/util/topdown.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/arch/x86/util/topdown.h b/tools/perf/arch/x86/util/topdown.h
index 1bae9b1822d7..69035565e649 100644
--- a/tools/perf/arch/x86/util/topdown.h
+++ b/tools/perf/arch/x86/util/topdown.h
@@ -2,8 +2,14 @@
#ifndef _TOPDOWN_H
#define _TOPDOWN_H 1
+#include <stdbool.h>
+
+struct evsel;
+struct list_head;
+
bool topdown_sys_has_perf_metrics(void);
bool arch_is_topdown_slots(const struct evsel *evsel);
bool arch_is_topdown_metrics(const struct evsel *evsel);
+int topdown_insert_slots_event(struct list_head *list, int idx, struct evsel *metric_event);
#endif