perf session: Fallback to unordered processing if no sample_id_all
[linux-flexiantxendom0-natty.git] / tools / perf / builtin-top.c
index 0515ce9..ae15f04 100644 (file)
@@ -1272,7 +1272,7 @@ static int __cmd_top(void)
         * FIXME: perf_session__new should allow passing a O_MMAP, so that all this
         * mmap reading, etc is encapsulated in it. Use O_WRONLY for now.
         */
-       struct perf_session *session = perf_session__new(NULL, O_WRONLY, false, false);
+       struct perf_session *session = perf_session__new(NULL, O_WRONLY, false, false, NULL);
        if (session == NULL)
                return -ENOMEM;