Re: [PATCH v4 08/10] Documentation: admin-guide: Add riscv sysctl_perf_user_access

From: Vince Weaver
Date: Tue Jul 04 2023 - 08:28:28 EST




On Mon, 3 Jul 2023, Alexandre Ghiti wrote:

> -=================================
> +perf_user_access (arm64 and riscv only)
> +=======================================

so I complained about this when support for this went in for arm64.

Why do we have two separate ways of getting this info, one for x86 and one
for arm64/riscv?

Could we get x86 patched to use the same interface?

It's a pain for tool users to have to maintain multiple code paths because
the various architectures can't agree on how to export this info to
userspace.

Vince