unwind_guess.c (a976c2951d8f376112361830aa7762beff83a205) | unwind_guess.c (ee9f8fce99640811b2b8e79d0d1dbe8bab69ba67) |
---|---|
1#include <linux/sched.h> 2#include <linux/ftrace.h> 3#include <asm/ptrace.h> 4#include <asm/bitops.h> 5#include <asm/stacktrace.h> 6#include <asm/unwind.h> 7 8unsigned long unwind_get_return_address(struct unwind_state *state) --- 5 unchanged lines hidden (view full) --- 14 15 addr = READ_ONCE_NOCHECK(*state->sp); 16 17 return ftrace_graph_ret_addr(state->task, &state->graph_idx, 18 addr, state->sp); 19} 20EXPORT_SYMBOL_GPL(unwind_get_return_address); 21 | 1#include <linux/sched.h> 2#include <linux/ftrace.h> 3#include <asm/ptrace.h> 4#include <asm/bitops.h> 5#include <asm/stacktrace.h> 6#include <asm/unwind.h> 7 8unsigned long unwind_get_return_address(struct unwind_state *state) --- 5 unchanged lines hidden (view full) --- 14 15 addr = READ_ONCE_NOCHECK(*state->sp); 16 17 return ftrace_graph_ret_addr(state->task, &state->graph_idx, 18 addr, state->sp); 19} 20EXPORT_SYMBOL_GPL(unwind_get_return_address); 21 |
22unsigned long *unwind_get_return_address_ptr(struct unwind_state *state) 23{ 24 return NULL; 25} 26 |
|
22bool unwind_next_frame(struct unwind_state *state) 23{ 24 struct stack_info *info = &state->stack_info; 25 26 if (unwind_done(state)) 27 return false; 28 29 do { --- 38 unchanged lines hidden --- | 27bool unwind_next_frame(struct unwind_state *state) 28{ 29 struct stack_info *info = &state->stack_info; 30 31 if (unwind_done(state)) 32 return false; 33 34 do { --- 38 unchanged lines hidden --- |