[PATCH v7 7/9] perf: arm64: Add test for userspace counter access on heterogeneous systems

Rob Herring robh at kernel.org
Thu May 13 05:37:24 PDT 2021


On Thu, May 13, 2021 at 4:06 AM nakamura.shun at fujitsu.com
<nakamura.shun at fujitsu.com> wrote:
>
> Hi Rob
>
> > Userspace counter access only works on heterogeneous systems with some
> > restrictions. The userspace process must be pinned to a homogeneous
> > subset of CPUs and must open the corresponding PMU for those CPUs. This
> > commit adds a test implementing these requirements.
>
> Are you planning to change x86 tests (tools/perf/arch/x86/tests/rdpmc.c)
> to use libperf as well?

The test can be removed as the libperf unit tests have an equivalent
test. I had a patch doing this, but there were objections removing it
until 'perf test' can run the libperf tests.

Rob



More information about the linux-arm-kernel mailing list