Re: [PATCH v7 7/9] perf: arm64: Add test for userspace counter access on heterogeneous systems
From: Rob Herring
Date: Thu May 13 2021 - 08:37:51 EST
On Thu, May 13, 2021 at 4:06 AM nakamura.shun@xxxxxxxxxxx
<nakamura.shun@xxxxxxxxxxx> 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