OSDN Git Service

Merge branch 'perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic...
[android-x86/kernel.git] / tools / perf / builtin-test.c
index 1fa9f58..b671862 100644 (file)
@@ -550,7 +550,7 @@ static int test__basic_mmap(void)
                        ++foo;
                }
 
-       while ((event = perf_evlist__read_on_cpu(evlist, 0)) != NULL) {
+       while ((event = perf_evlist__mmap_read(evlist, 0)) != NULL) {
                struct perf_sample sample;
 
                if (event->header.type != PERF_RECORD_SAMPLE) {