Lines Matching refs:ret_addr
54 u64 ret_addr; member
215 static int thread_stack__push(struct thread_stack *ts, u64 ret_addr, in thread_stack__push() argument
229 ts->stack[ts->cnt++].ret_addr = ret_addr; in thread_stack__push()
234 static void thread_stack__pop(struct thread_stack *ts, u64 ret_addr) in thread_stack__pop() argument
248 if (ts->stack[--i].ret_addr == ret_addr) { in thread_stack__pop()
389 u64 ret_addr; in thread_stack__event() local
393 ret_addr = from_ip + insn_len; in thread_stack__event()
394 if (ret_addr == to_ip) in thread_stack__event()
396 return thread_stack__push(ts, ret_addr, in thread_stack__event()
486 ip = ts->stack[ts->cnt - j].ret_addr; in thread_stack__sample()
529 static int thread_stack__push_cp(struct thread_stack *ts, u64 ret_addr, in thread_stack__push_cp() argument
546 tse->ret_addr = ret_addr; in thread_stack__push_cp()
562 u64 ret_addr, u64 timestamp, u64 ref, in thread_stack__pop_cp() argument
578 if (ts->stack[ts->cnt - 1].ret_addr == ret_addr && in thread_stack__pop_cp()
586 if (ts->stack[i].ret_addr != ret_addr || in thread_stack__pop_cp()
771 u64 ret_addr; in thread_stack__trace_end() local
780 ret_addr = sample->ip + sample->insn_len; in thread_stack__trace_end()
782 return thread_stack__push_cp(ts, ret_addr, sample->time, ref, cp, in thread_stack__trace_end()
901 u64 ret_addr; in thread_stack__process() local
906 ret_addr = sample->ip + sample->insn_len; in thread_stack__process()
907 if (ret_addr == sample->addr) in thread_stack__process()
913 err = thread_stack__push_cp(ts, ret_addr, sample->time, ref, in thread_stack__process()
942 ts->stack[ts->cnt - 1].ret_addr != sample->addr) in thread_stack__process()