projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf evlist: Fix per thread mmap setup
[linux-2.6-block.git]
/
tools
/
perf
/
builtin-test.c
diff --git
a/tools/perf/builtin-test.c
b/tools/perf/builtin-test.c
index 11e3c84583622bac20ed799cfab29e7066c6d6eb..2f9a337b182fe98e66a70128a6661c2be3e0342c 100644
(file)
--- a/
tools/perf/builtin-test.c
+++ b/
tools/perf/builtin-test.c
@@
-549,7
+549,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) {