Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _FTRACE_H
0003 #define _FTRACE_H
0004 
0005 #include <asm/types.h>
0006 
0007 struct ftrace_hotpatch_trampoline {
0008     u16 brasl_opc;
0009     s32 brasl_disp;
0010     s16: 16;
0011     u64 rest_of_intercepted_function;
0012     u64 interceptor;
0013 } __packed;
0014 
0015 extern struct ftrace_hotpatch_trampoline __ftrace_hotpatch_trampolines_start[];
0016 extern struct ftrace_hotpatch_trampoline __ftrace_hotpatch_trampolines_end[];
0017 extern const char ftrace_shared_hotpatch_trampoline_br[];
0018 extern const char ftrace_shared_hotpatch_trampoline_br_end[];
0019 extern const char ftrace_shared_hotpatch_trampoline_exrl[];
0020 extern const char ftrace_shared_hotpatch_trampoline_exrl_end[];
0021 extern const char ftrace_plt_template[];
0022 extern const char ftrace_plt_template_end[];
0023 
0024 #endif /* _FTRACE_H */