perf: add perf-inject builtin
[safe/jmp/linux-2.6] / tools / perf / builtin-lock.c
index ce27675..6605000 100644 (file)
@@ -818,7 +818,7 @@ static struct perf_event_ops eops = {
 
 static int read_events(void)
 {
-       session = perf_session__new(input_name, O_RDONLY, 0);
+       session = perf_session__new(input_name, O_RDONLY, 0, false);
        if (!session)
                die("Initializing perf session failed\n");