Home
last modified time | relevance | path

Searched refs:ftrace_regs (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dftrace.h74 * Note: sizeof(struct ftrace_regs) must be a multiple of 16 to ensure correct
77 struct ftrace_regs { struct
95 ftrace_regs_get_instruction_pointer(const struct ftrace_regs *fregs) in ftrace_regs_get_instruction_pointer()
101 ftrace_regs_set_instruction_pointer(struct ftrace_regs *fregs, in ftrace_regs_set_instruction_pointer()
108 ftrace_regs_get_stack_pointer(const struct ftrace_regs *fregs) in ftrace_regs_get_stack_pointer()
114 ftrace_regs_get_argument(struct ftrace_regs *fregs, unsigned int n) in ftrace_regs_get_argument()
122 ftrace_regs_get_return_value(const struct ftrace_regs *fregs) in ftrace_regs_get_return_value()
128 ftrace_regs_set_return_value(struct ftrace_regs *fregs, in ftrace_regs_set_return_value()
135 ftrace_override_function_with_return(struct ftrace_regs *fregs) in ftrace_override_function_with_return()
146 struct ftrace_ops *op, struct ftrace_regs *freg
[all...]
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Dftrace.h48 struct ftrace_regs { struct
52 static __always_inline struct pt_regs *arch_ftrace_get_regs(struct ftrace_regs *fregs) in arch_ftrace_get_regs()
58 ftrace_regs_get_instruction_pointer(struct ftrace_regs *fregs) in ftrace_regs_get_instruction_pointer()
64 ftrace_regs_set_instruction_pointer(struct ftrace_regs *fregs, unsigned long ip) in ftrace_regs_set_instruction_pointer()
84 struct ftrace_ops *op, struct ftrace_regs *fregs);
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dftrace.h45 struct ftrace_regs { struct
49 static __always_inline struct pt_regs *arch_ftrace_get_regs(struct ftrace_regs *fregs) in arch_ftrace_get_regs()
56 ftrace_regs_set_instruction_pointer(struct ftrace_regs *fregs, in ftrace_regs_set_instruction_pointer()
63 ftrace_regs_get_instruction_pointer(struct ftrace_regs *fregs) in ftrace_regs_get_instruction_pointer()
85 struct ftrace_ops *op, struct ftrace_regs *fregs);
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dftrace.h44 struct ftrace_regs { struct
48 static __always_inline struct pt_regs *arch_ftrace_get_regs(struct ftrace_regs *fregs) in arch_ftrace_get_regs()
75 ftrace_regs_get_instruction_pointer(const struct ftrace_regs *fregs) in ftrace_regs_get_instruction_pointer()
81 ftrace_regs_set_instruction_pointer(struct ftrace_regs *fregs, in ftrace_regs_set_instruction_pointer()
108 static inline void arch_ftrace_set_direct_caller(struct ftrace_regs *fregs, unsigned long addr) in arch_ftrace_set_direct_caller()
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dasm-offsets.c87 DEFINE(FREGS_X0, offsetof(struct ftrace_regs, regs[0])); in main()
88 DEFINE(FREGS_X2, offsetof(struct ftrace_regs, regs[2])); in main()
89 DEFINE(FREGS_X4, offsetof(struct ftrace_regs, regs[4])); in main()
90 DEFINE(FREGS_X6, offsetof(struct ftrace_regs, regs[6])); in main()
91 DEFINE(FREGS_X8, offsetof(struct ftrace_regs, regs[8])); in main()
92 DEFINE(FREGS_FP, offsetof(struct ftrace_regs, fp)); in main()
93 DEFINE(FREGS_LR, offsetof(struct ftrace_regs, lr)); in main()
94 DEFINE(FREGS_SP, offsetof(struct ftrace_regs, sp)); in main()
95 DEFINE(FREGS_PC, offsetof(struct ftrace_regs, pc)); in main()
97 DEFINE(FREGS_DIRECT_TRAMP, offsetof(struct ftrace_regs, direct_tram in main()
[all...]
H A Dftrace.c29 .offset = offsetof(struct ftrace_regs, field), \
482 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func()
/kernel/linux/linux-6.6/arch/parisc/include/asm/
H A Dftrace.h15 struct ftrace_regs;
18 struct ftrace_regs *fregs);
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dftrace.h38 struct ftrace_regs { struct
43 arch_ftrace_get_regs(struct ftrace_regs *fregs) in arch_ftrace_get_regs()
73 struct ftrace_ops *op, struct ftrace_regs *fregs);
/kernel/linux/linux-6.6/include/linux/
H A Dftrace.h41 struct ftrace_regs;
68 struct ftrace_ops *op, struct ftrace_regs *fregs);
121 struct ftrace_regs { struct
128 * if to allow setting of the instruction pointer from the ftrace_regs when
134 static __always_inline struct pt_regs *ftrace_get_regs(struct ftrace_regs *fregs) in ftrace_get_regs()
146 static __always_inline bool ftrace_regs_has_args(struct ftrace_regs *fregs) in ftrace_regs_has_args()
172 struct ftrace_ops *op, struct ftrace_regs *fregs);
390 struct ftrace_ops *op, struct ftrace_regs *fregs);
465 static inline void arch_ftrace_set_direct_caller(struct ftrace_regs *fregs, in arch_ftrace_set_direct_caller()
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_functions.c26 struct ftrace_ops *op, struct ftrace_regs *fregs);
29 struct ftrace_ops *op, struct ftrace_regs *fregs);
32 struct ftrace_ops *op, struct ftrace_regs *fregs);
36 struct ftrace_regs *fregs);
173 struct ftrace_ops *op, struct ftrace_regs *fregs) in function_trace_call()
218 struct ftrace_ops *op, struct ftrace_regs *fregs) in function_stack_trace_call()
282 struct ftrace_regs *fregs) in function_no_repeats_trace_call()
328 struct ftrace_regs *fregs) in function_stack_no_repeats_trace_call()
H A Dtrace_selftest.c110 struct ftrace_regs *fregs) in trace_selftest_test_probe1_func()
119 struct ftrace_regs *fregs) in trace_selftest_test_probe2_func()
128 struct ftrace_regs *fregs) in trace_selftest_test_probe3_func()
137 struct ftrace_regs *fregs) in trace_selftest_test_global_func()
146 struct ftrace_regs *fregs) in trace_selftest_test_dyn_func()
451 struct ftrace_regs *fregs) in trace_selftest_test_recursion_func()
466 struct ftrace_regs *fregs) in trace_selftest_test_recursion_safe_func()
585 struct ftrace_regs *fregs) in trace_selftest_test_regs_func()
H A Dfprobe.c25 struct ftrace_ops *ops, struct ftrace_regs *fregs) in __fprobe_handler()
61 struct ftrace_ops *ops, struct ftrace_regs *fregs) in fprobe_handler()
85 struct ftrace_ops *ops, struct ftrace_regs *fregs) in fprobe_kprobe_handler()
H A Dtrace_stack.c293 struct ftrace_ops *op, struct ftrace_regs *fregs) in stack_trace_call()
H A Dftrace.c130 struct ftrace_ops *op, struct ftrace_regs *fregs);
143 struct ftrace_regs *fregs) in ftrace_ops_nop_func()
171 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_pid_func()
785 struct ftrace_ops *ops, struct ftrace_regs *fregs) in function_profile_call()
2558 struct ftrace_ops *ops, struct ftrace_regs *fregs) in call_direct_funcs()
4599 struct ftrace_ops *op, struct ftrace_regs *fregs) in function_trace_probe_call()
7347 struct ftrace_ops *ignored, struct ftrace_regs *fregs) in __ftrace_ops_list_func()
7404 struct ftrace_ops *op, struct ftrace_regs *fregs) in arch_ftrace_ops_list_func()
7422 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_ops_assist_func()
/kernel/linux/linux-6.6/arch/parisc/kernel/
H A Dftrace.c59 struct ftrace_regs *fregs) in ftrace_function_trampoline()
202 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/kernel/linux/linux-6.6/samples/ftrace/
H A Dftrace-ops.c102 struct ftrace_regs *fregs) in ops_func_nop()
109 struct ftrace_regs *fregs) in ops_func_count()
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dftrace_dyn.c242 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func()
283 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/kernel/linux/linux-6.6/arch/csky/kernel/probes/
H A Dftrace.c7 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dkprobes-ftrace.c17 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/kernel/linux/linux-6.6/arch/riscv/kernel/probes/
H A Dftrace.c7 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/kernel/linux/linux-6.6/arch/x86/kernel/kprobes/
H A Dftrace.c17 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dasm-offsets.c187 OFFSET(__FTRACE_REGS_PT_REGS, ftrace_regs, regs); in main()
188 DEFINE(__FTRACE_REGS_SIZE, sizeof(struct ftrace_regs)); in main()
H A Dftrace.c292 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/kernel/linux/linux-6.6/fs/pstore/
H A Dftrace.c29 struct ftrace_regs *fregs) in pstore_ftrace_call()
/kernel/linux/linux-6.6/kernel/livepatch/
H A Dpatch.c43 struct ftrace_regs *fregs) in klp_ftrace_handler()

Completed in 34 milliseconds

12