Skip to content

RFC perf: x86 RDPMC and RDTSC support

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 41 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6perf: Update the mmap control page on mmap()kernel/events/core.c+2 -00 replies
2/6perf, arch: Rework perf_event_index()arch/arm/include/asm/perf_event.h arch/arm/kernel/perf_event.c arch/frv/include/asm/perf_event.h +7 more+31 -1817 replies
3/6perf, x86: Implement userspace RDPMCarch/x86/kernel/cpu/perf_event.c+15 -00 replies
4/6perf, x86: Provide means of disabling userspace RDPMCarch/x86/kernel/cpu/perf_event.c arch/x86/kernel/cpu/perf_event.h include/linux/perf_event.h +1 more+64 -10 replies
5/6perf: Extend the mmap control page with time (TSC) fieldsarch/x86/kernel/cpu/perf_event.c include/linux/perf_event.h kernel/events/core.c+31 -81 reply
6/6perf, tools: X86 RDPMC, RDTSC testtools/perf/builtin-test.c+129 -04 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchEric B MunsonWill Deacon
1/6
2/6A-b A-b
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC][PATCH 0/6] perf: x86 RDPMC and RDTSC support

These few patches implement x86 RDPMC support and add an extention to the self monitoring data to also allow additional time updates using userspace TSC reads.

There's a few loose ends, but it mostly seems to work.