|
@@ -164,7 +164,7 @@ void perf_mmap__munmap(struct perf_mmap *map)
|
|
|
auxtrace_mmap__munmap(&map->auxtrace_mmap);
|
|
|
}
|
|
|
|
|
|
-int perf_mmap__mmap(struct perf_mmap *map, struct mmap_params *mp, int fd)
|
|
|
+int perf_mmap__mmap(struct perf_mmap *map, struct mmap_params *mp, int fd, int cpu)
|
|
|
{
|
|
|
/*
|
|
|
* The last one will be done at perf_mmap__consume(), so that we
|
|
@@ -191,6 +191,7 @@ int perf_mmap__mmap(struct perf_mmap *map, struct mmap_params *mp, int fd)
|
|
|
return -1;
|
|
|
}
|
|
|
map->fd = fd;
|
|
|
+ map->cpu = cpu;
|
|
|
|
|
|
if (auxtrace_mmap__mmap(&map->auxtrace_mmap,
|
|
|
&mp->auxtrace_mp, map->base, fd))
|