[PATCH v7 0/4] libperf userspace counter access

From: Rob Herring
Date: Tue Apr 13 2021 - 13:16:10 EST


I'm resending just the libperf userspace counter access without the Arm
bits so hopefully it can be picked up for 5.13. The Arm bits seem to be
a never ending review filled with long periods of silence. :(

Prior versions are here[1][2][3][4][5][6][7].

Rob

[1] https://lore.kernel.org/r/20190822144220.27860-1-raphael.gault@xxxxxxx/
[2] https://lore.kernel.org/r/20200707205333.624938-1-robh@xxxxxxxxxx/
[3] https://lore.kernel.org/r/20200828205614.3391252-1-robh@xxxxxxxxxx/
[4] https://lore.kernel.org/r/20200911215118.2887710-1-robh@xxxxxxxxxx/
[5] https://lore.kernel.org/r/20201001140116.651970-1-robh@xxxxxxxxxx/
[6] https://lore.kernel.org/r/20210114020605.3943992-1-robh@xxxxxxxxxx/
[7] https://lore.kernel.org/r/20210311000837.3630499-1-robh@xxxxxxxxxx/

Rob Herring (4):
tools/include: Add an initial math64.h
libperf: Add evsel mmap support
libperf: tests: Add support for verbose printing
libperf: Add support for user space counter access

tools/include/linux/math64.h | 75 ++++++++++++++++++++
tools/lib/perf/Documentation/libperf.txt | 2 +
tools/lib/perf/evsel.c | 58 ++++++++++++++++
tools/lib/perf/include/internal/evsel.h | 1 +
tools/lib/perf/include/internal/mmap.h | 3 +
tools/lib/perf/include/internal/tests.h | 32 +++++++++
tools/lib/perf/include/perf/evsel.h | 2 +
tools/lib/perf/libperf.map | 2 +
tools/lib/perf/mmap.c | 88 ++++++++++++++++++++++++
tools/lib/perf/tests/Makefile | 6 +-
tools/lib/perf/tests/test-evsel.c | 65 +++++++++++++++++
11 files changed, 332 insertions(+), 2 deletions(-)
create mode 100644 tools/include/linux/math64.h

--
2.27.0