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

Vince Weaver vincent.weaver at maine.edu
Tue Jul 4 05:28:08 PDT 2023



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



More information about the linux-riscv mailing list