summaryrefslogtreecommitdiff
path: root/tools/perf/util/jit.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/jit.h')
-rw-r--r--tools/perf/util/jit.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/perf/util/jit.h b/tools/perf/util/jit.h
new file mode 100644
index 000000000000..a1e99da0715a
--- /dev/null
+++ b/tools/perf/util/jit.h
@@ -0,0 +1,15 @@
+#ifndef __JIT_H__
+#define __JIT_H__
+
+#include <data.h>
+
+extern int jit_process(struct perf_session *session,
+ struct perf_data_file *output,
+ struct machine *machine,
+ char *filename,
+ pid_t pid,
+ u64 *nbytes);
+
+extern int jit_inject_record(const char *filename);
+
+#endif /* __JIT_H__ */