Lines Matching refs:ret_addr
54 u64 ret_addr; member
238 static int thread_stack__push(struct thread_stack *ts, u64 ret_addr, in thread_stack__push() argument
252 ts->stack[ts->cnt++].ret_addr = ret_addr; in thread_stack__push()
257 static void thread_stack__pop(struct thread_stack *ts, u64 ret_addr) in thread_stack__pop() argument
271 if (ts->stack[--i].ret_addr == ret_addr) { in thread_stack__pop()
447 u64 ret_addr; in thread_stack__event() local
451 ret_addr = from_ip + insn_len; in thread_stack__event()
452 if (ret_addr == to_ip) in thread_stack__event()
454 return thread_stack__push(ts, ret_addr, in thread_stack__event()
545 ip = ts->stack[ts->cnt - j].ret_addr; in thread_stack__sample()
586 ip = ts->stack[ts->cnt - j].ret_addr; in thread_stack__sample_late()
596 ip = ts->stack[ts->cnt - j].ret_addr; in thread_stack__sample_late()
781 static int thread_stack__push_cp(struct thread_stack *ts, u64 ret_addr, in thread_stack__push_cp() argument
798 tse->ret_addr = ret_addr; in thread_stack__push_cp()
814 u64 ret_addr, u64 timestamp, u64 ref, in thread_stack__pop_cp() argument
830 if (ts->stack[ts->cnt - 1].ret_addr == ret_addr && in thread_stack__pop_cp()
838 if (ts->stack[i].ret_addr != ret_addr || in thread_stack__pop_cp()
1023 u64 ret_addr; in thread_stack__trace_end() local
1032 ret_addr = sample->ip + sample->insn_len; in thread_stack__trace_end()
1034 return thread_stack__push_cp(ts, ret_addr, sample->time, ref, cp, in thread_stack__trace_end()
1153 u64 ret_addr; in thread_stack__process() local
1158 ret_addr = sample->ip + sample->insn_len; in thread_stack__process()
1159 if (ret_addr == sample->addr) in thread_stack__process()
1165 err = thread_stack__push_cp(ts, ret_addr, sample->time, ref, in thread_stack__process()
1194 ts->stack[ts->cnt - 1].ret_addr != sample->addr) in thread_stack__process()