[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <72d2ad7a-601a-a06a-5587-3843971dddf3@maine.edu>
Date: Tue, 4 Jul 2023 08:28:08 -0400 (EDT)
From: Vince Weaver <vincent.weaver@...ne.edu>
To: Alexandre Ghiti <alexghiti@...osinc.com>
cc: Jonathan Corbet <corbet@....net>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Ian Rogers <irogers@...gle.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>,
Atish Patra <atishp@...shpatra.org>,
Anup Patel <anup@...infault.org>,
Will Deacon <will@...nel.org>, Rob Herring <robh@...nel.org>,
Andrew Jones <ajones@...tanamicro.com>,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-perf-users@...r.kernel.org, linux-riscv@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v4 08/10] Documentation: admin-guide: Add riscv
sysctl_perf_user_access
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
Powered by blists - more mailing lists