perf session: Fallback to unordered processing if no sample_id_all
[cascardo/linux.git] / tools / perf / builtin-lock.c
index b41b449..b9c6e54 100644 (file)
@@ -858,7 +858,7 @@ static struct perf_event_ops eops = {
 
 static int read_events(void)
 {
-       session = perf_session__new(input_name, O_RDONLY, 0, false);
+       session = perf_session__new(input_name, O_RDONLY, 0, false, &eops);
        if (!session)
                die("Initializing perf session failed\n");