Home
last modified time | relevance | path

Searched refs:ret_stack (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/kernel/trace/
Dfgraph.c78 if (!current->ret_stack) in ftrace_push_return_trace()
97 current->ret_stack[index].ret = ret; in ftrace_push_return_trace()
98 current->ret_stack[index].func = func; in ftrace_push_return_trace()
99 current->ret_stack[index].calltime = calltime; in ftrace_push_return_trace()
101 current->ret_stack[index].fp = frame_pointer; in ftrace_push_return_trace()
104 current->ret_stack[index].retp = retp; in ftrace_push_return_trace()
189 if (unlikely(current->ret_stack[index].fp != frame_pointer)) { in ftrace_pop_return_trace()
193 current->ret_stack[index].fp, in ftrace_pop_return_trace()
195 (void *)current->ret_stack[index].func, in ftrace_pop_return_trace()
196 current->ret_stack[index].ret); in ftrace_pop_return_trace()
[all …]
Dftrace.c822 struct ftrace_ret_stack *ret_stack; in profile_graph_entry() local
827 if (!current->ret_stack) in profile_graph_entry()
830 ret_stack = ftrace_graph_get_ret_stack(current, 0); in profile_graph_entry()
831 if (ret_stack) in profile_graph_entry()
832 ret_stack->subtime = 0; in profile_graph_entry()
839 struct ftrace_ret_stack *ret_stack; in profile_graph_return() local
859 ret_stack = ftrace_graph_get_ret_stack(current, 1); in profile_graph_return()
860 if (ret_stack) in profile_graph_return()
861 ret_stack->subtime += calltime; in profile_graph_return()
863 ret_stack = ftrace_graph_get_ret_stack(current, 0); in profile_graph_return()
[all …]
/linux-6.6.21/arch/sh/kernel/
Ddumpstack.c60 struct ftrace_ret_stack *ret_stack; in print_ftrace_graph_addr() local
66 if (!task->ret_stack) in print_ftrace_graph_addr()
69 ret_stack = ftrace_graph_get_ret_stack(task, *graph); in print_ftrace_graph_addr()
70 if (!ret_stack) in print_ftrace_graph_addr()
73 ret_addr = ret_stack->ret; in print_ftrace_graph_addr()
Ddwarf.c608 struct ftrace_ret_stack *ret_stack; in dwarf_unwind_stack() local
610 ret_stack = ftrace_graph_get_ret_stack(current, 0); in dwarf_unwind_stack()
611 if (ret_stack) in dwarf_unwind_stack()
612 pc = ret_stack->ret; in dwarf_unwind_stack()
/linux-6.6.21/arch/sparc/kernel/
Dstacktrace.c61 struct ftrace_ret_stack *ret_stack; in __save_stack_trace() local
62 ret_stack = ftrace_graph_get_ret_stack(t, in __save_stack_trace()
64 if (ret_stack) { in __save_stack_trace()
65 pc = ret_stack->ret; in __save_stack_trace()
Dperf_event.c1774 struct ftrace_ret_stack *ret_stack; in perf_callchain_kernel() local
1775 ret_stack = ftrace_graph_get_ret_stack(current, in perf_callchain_kernel()
1777 if (ret_stack) { in perf_callchain_kernel()
1778 pc = ret_stack->ret; in perf_callchain_kernel()
Dtraps_64.c2497 struct ftrace_ret_stack *ret_stack; in show_stack() local
2498 ret_stack = ftrace_graph_get_ret_stack(tsk, graph); in show_stack()
2499 if (ret_stack) { in show_stack()
2500 pc = ret_stack->ret; in show_stack()
/linux-6.6.21/arch/arm64/kernel/
Dstacktrace.c79 if (state->task->ret_stack && in unwind_recover_return_address()
/linux-6.6.21/init/
Dinit_task.c198 .ret_stack = NULL,
/linux-6.6.21/include/linux/
Dsched.h1389 struct ftrace_ret_stack *ret_stack; member
/linux-6.6.21/Documentation/trace/
Dftrace-design.rst225 sync with ret_stack and the wrong addresses are reported by