summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/archinsn.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/archinsn.h')
-rw-r--r--tools/perf/util/archinsn.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/perf/util/archinsn.h b/tools/perf/util/archinsn.h
new file mode 100644
index 000000000..448cbb6b8
--- /dev/null
+++ b/tools/perf/util/archinsn.h
@@ -0,0 +1,12 @@
+#ifndef INSN_H
+#define INSN_H 1
+
+struct perf_sample;
+struct machine;
+struct thread;
+
+void arch_fetch_insn(struct perf_sample *sample,
+ struct thread *thread,
+ struct machine *machine);
+
+#endif