diff --git a/kernel/perf_event.c b/kernel/perf_event.c index 087025fe3ba1c0f60c02e3a76d2fe68082a585ff..5a69abb05ac32b716bee539bc6c5cbd4fc984610 100644 --- a/kernel/perf_event.c +++ b/kernel/perf_event.c @@ -3749,7 +3749,7 @@ void __perf_event_mmap(struct vm_area_struct *vma) /* .tid */ .start = vma->vm_start, .len = vma->vm_end - vma->vm_start, - .pgoff = vma->vm_pgoff, + .pgoff = (u64)vma->vm_pgoff << PAGE_SHIFT, }, };