Home
last modified time | relevance | path

Searched refs:ftrace_regs (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.6.21/arch/arm64/include/asm/
Dftrace.h77 struct ftrace_regs { struct
95 ftrace_regs_get_instruction_pointer(const struct ftrace_regs *fregs) in ftrace_regs_get_instruction_pointer() argument
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 *fregs);
150 static inline void arch_ftrace_set_direct_caller(struct ftrace_regs *fregs, in arch_ftrace_set_direct_caller()
/linux-6.6.21/arch/loongarch/include/asm/
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() argument
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);
/linux-6.6.21/arch/powerpc/include/asm/
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() argument
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);
/linux-6.6.21/arch/s390/include/asm/
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() argument
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()
/linux-6.6.21/arch/arm64/kernel/
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_tramp)); in main()
[all …]
Dftrace.c29 .offset = offsetof(struct ftrace_regs, field), \
482 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func()
/linux-6.6.21/arch/parisc/include/asm/
Dftrace.h15 struct ftrace_regs;
18 struct ftrace_regs *fregs);
/linux-6.6.21/arch/x86/include/asm/
Dftrace.h38 struct ftrace_regs { struct
43 arch_ftrace_get_regs(struct ftrace_regs *fregs) in arch_ftrace_get_regs() argument
73 struct ftrace_ops *op, struct ftrace_regs *fregs);
/linux-6.6.21/include/linux/
Dftrace.h41 struct ftrace_regs;
68 struct ftrace_ops *op, struct ftrace_regs *fregs);
121 struct ftrace_regs { struct
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()
Dkprobes.h384 struct ftrace_ops *ops, struct ftrace_regs *fregs);
/linux-6.6.21/kernel/trace/
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()
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()
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()
Dtrace_stack.c293 struct ftrace_ops *op, struct ftrace_regs *fregs) in stack_trace_call()
/linux-6.6.21/arch/parisc/kernel/
Dftrace.c59 struct ftrace_regs *fregs) in ftrace_function_trampoline()
202 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/linux-6.6.21/samples/ftrace/
Dftrace-ops.c102 struct ftrace_regs *fregs) in ops_func_nop()
109 struct ftrace_regs *fregs) in ops_func_count()
/linux-6.6.21/arch/loongarch/kernel/
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()
/linux-6.6.21/arch/powerpc/kernel/
Dkprobes-ftrace.c17 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/linux-6.6.21/arch/x86/kernel/kprobes/
Dftrace.c17 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/linux-6.6.21/arch/riscv/kernel/probes/
Dftrace.c7 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/linux-6.6.21/arch/csky/kernel/probes/
Dftrace.c7 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/linux-6.6.21/arch/s390/kernel/
Dasm-offsets.c187 OFFSET(__FTRACE_REGS_PT_REGS, ftrace_regs, regs); in main()
188 DEFINE(__FTRACE_REGS_SIZE, sizeof(struct ftrace_regs)); in main()
Dftrace.c292 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/linux-6.6.21/fs/pstore/
Dftrace.c29 struct ftrace_regs *fregs) in pstore_ftrace_call()
/linux-6.6.21/kernel/livepatch/
Dpatch.c43 struct ftrace_regs *fregs) in klp_ftrace_handler()

12