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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/jit.h b/tools/perf/util/jit.h
index fb810e1b2de7..f4037203e9ec 100644
--- a/tools/perf/util/jit.h
+++ b/tools/perf/util/jit.h
@@ -5,7 +5,8 @@
#include <data.h>
int jit_process(struct perf_session *session, struct perf_data *output,
- struct machine *machine, char *filename, pid_t pid, pid_t tid, u64 *nbytes);
+ struct machine *machine, const char *filename,
+ pid_t pid, pid_t tid, u64 *nbytes);
int jit_inject_record(const char *filename);