Skip to content

arm64: perf: Make compat tracing better

Douglas Anderson linux-arm-kernel linux-perf-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arm64: perf: perf_callchain_user() compat support for clang/non-APCS-gcc-armarch/arm64/kernel/perf_callchain.c+275 -360 replies
2/3arm64: perf: Improve compat perf_callchain_user() for clang leaf functionsarch/arm64/kernel/perf_callchain.c+14 -02 replies
3/3arm64: perf: Add a config option saying 32-bit thumb code uses R11 for FParch/arm64/Kconfig arch/arm64/kernel/perf_callchain.c+20 -40 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchNick Desaulniers
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] arm64: perf: Make compat tracing better

The goal for this series is to improve "perf" behavior when 32-bit userspace code is involved. This turns out to be fairly important for Chrome OS which still runs 32-bit userspace for the time being (long story there).

I won't repeat everything said in the individual patches since since they are wordy enough as it is.

Please enjoy and I hope this isn't too ugly/hacky for inclusion in mainline.

Thanks to Nick Desaulniers for his early review of these patches and to Ricky for the super early prototype that some of this is based on.

Douglas Anderson (3):
arm64: perf: perf_callchain_user() compat support for
clang/non-APCS-gcc-arm
arm64: perf: Improve compat perf_callchain_user() for clang leaf
functions
arm64: perf: Add a config option saying 32-bit thumb code uses R11 for
FP

 arch/arm64/Kconfig                 |  12 ++
 arch/arm64/kernel/perf_callchain.c | 329 +++++++++++++++++++++++++----
 2 files changed, 305 insertions(+), 36 deletions(-)
Signature · 1 line
2.31.1.607.g51e8a6a459-goog