You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
arm64: ftrace: Add direct call trampoline samples support
JIRA: https://issues.redhat.com/browse/RHEL-101598
commit 8c3526f
Author: Florent Revest <[email protected]>
Date: Thu Apr 27 16:07:00 2023 +0200
arm64: ftrace: Add direct call trampoline samples support
The ftrace samples need per-architecture trampoline implementations
to save and restore argument registers around the calls to
my_direct_func* and to restore polluted registers (eg: x30).
These samples also include <asm/asm-offsets.h> which, on arm64, is not
necessary and redefines previously defined macros (resulting in
warnings) so these includes are guarded by !CONFIG_ARM64.
Link: https://lkml.kernel.org/r/[email protected]
Reviewed-by: Mark Rutland <[email protected]>
Tested-by: Mark Rutland <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Signed-off-by: Florent Revest <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Conflicts:
- Context change from missing commits
a743f26 ("arm64: ftrace: Don't forbid CALL_OPS+CC_OPTIMIZE_FOR_SIZE with Clang")
22f367a ("LoongArch: ftrace: Add direct call trampoline samples support")
Signed-off-by: Jerome Marchand <[email protected]>
0 commit comments