aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-timechart.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-timechart.c')
-rw-r--r--tools/perf/builtin-timechart.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/builtin-timechart.c b/tools/perf/builtin-timechart.c
index b5211facddc6..27018531404b 100644
--- a/tools/perf/builtin-timechart.c
+++ b/tools/perf/builtin-timechart.c
@@ -1056,7 +1056,8 @@ static struct perf_event_ops event_ops = {
1056 1056
1057static int __cmd_timechart(void) 1057static int __cmd_timechart(void)
1058{ 1058{
1059 struct perf_session *session = perf_session__new(input_name, O_RDONLY, 0); 1059 struct perf_session *session = perf_session__new(input_name, O_RDONLY,
1060 0, NULL);
1060 int ret; 1061 int ret;
1061 1062
1062 if (session == NULL) 1063 if (session == NULL)