Messages in this thread | | | From | Rob Herring <> | Date | Tue, 14 Dec 2021 16:08:35 -0600 | Subject | Re: [PATCH v8] libperf: Add arm64 support to perf_mmap__read_self() |
| |
On Tue, Dec 14, 2021 at 3:56 PM Rob Herring <robh@kernel.org> wrote: > > Add the arm64 variants for read_perf_counter() and read_timestamp(). > Unfortunately the counter number is encoded into the instruction, so the > code is a bit verbose to enumerate all possible counters. > > Signed-off-by: Rob Herring <robh@kernel.org> > --- > v8: > - Set attr.config1 to request user access on arm64
Hit send a bit too quick. The kernel side[1] has now been applied by Will, so hopefully the libperf enabling can land in 5.17 too.
Rob
[1] https://lore.kernel.org/all/163948145564.2060329.17036263207999776606.b4-ty@kernel.org/
| |