[PATCH 0/1] perf/x86: Fix time_shift in perf_event_mmap_page

From: Adrian Hunter
Date: Fri Oct 16 2015 - 09:27:13 EST


Hi

There is a problem with my patch:
commit b20112edeadf ("perf/x86: Improve accuracy of perf/sched clock")
which is in tip at the moment.

The problem is that userspace does not expect time_shift in perf_event_mmap_page
to be as much as 32. Here is a proposed fix.


Adrian Hunter (1):
perf/x86: Fix time_shift in perf_event_mmap_page

arch/x86/kernel/tsc.c | 11 +++++++++++
include/uapi/linux/perf_event.h | 4 ++--
2 files changed, 13 insertions(+), 2 deletions(-)


Regards
Adrian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/