aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/session.h')
-rw-r--r--tools/perf/util/session.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h
index bdfc4b8eee7a..faf18a8e0311 100644
--- a/tools/perf/util/session.h
+++ b/tools/perf/util/session.h
@@ -10,7 +10,6 @@
10struct ip_callchain; 10struct ip_callchain;
11struct thread; 11struct thread;
12struct symbol; 12struct symbol;
13struct symbol_conf;
14 13
15struct perf_session { 14struct perf_session {
16 struct perf_header header; 15 struct perf_header header;
@@ -26,7 +25,6 @@ struct perf_session {
26 int fd; 25 int fd;
27 int cwdlen; 26 int cwdlen;
28 char *cwd; 27 char *cwd;
29 bool use_modules;
30 bool use_callchain; 28 bool use_callchain;
31 char filename[0]; 29 char filename[0];
32}; 30};
@@ -48,8 +46,7 @@ struct perf_event_ops {
48 bool full_paths; 46 bool full_paths;
49}; 47};
50 48
51struct perf_session *perf_session__new(const char *filename, int mode, 49struct perf_session *perf_session__new(const char *filename, int mode, bool force);
52 bool force, struct symbol_conf *conf);
53void perf_session__delete(struct perf_session *self); 50void perf_session__delete(struct perf_session *self);
54 51
55int perf_session__process_events(struct perf_session *self, 52int perf_session__process_events(struct perf_session *self,