aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-sched.c')
-rw-r--r--tools/perf/builtin-sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c
index 8d58d9e07a7b..bce05dff6dfe 100644
--- a/tools/perf/builtin-sched.c
+++ b/tools/perf/builtin-sched.c
@@ -1679,8 +1679,8 @@ static struct perf_event_ops event_ops = {
1679static int read_events(void) 1679static int read_events(void)
1680{ 1680{
1681 int err; 1681 int err;
1682 struct perf_session *session = perf_session__new(input_name, O_RDONLY, 0); 1682 struct perf_session *session = perf_session__new(input_name, O_RDONLY,
1683 1683 0, NULL);
1684 if (session == NULL) 1684 if (session == NULL)
1685 return -ENOMEM; 1685 return -ENOMEM;
1686 1686