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()
546 ip = ts->stack[ts->cnt - j].ret_addr; in thread_stack__sample()
587 ip = ts->stack[ts->cnt - j].ret_addr; in thread_stack__sample_late()
597 ip = ts->stack[ts->cnt - j].ret_addr; in thread_stack__sample_late()
782 static int thread_stack__push_cp(struct thread_stack *ts, u64 ret_addr, in thread_stack__push_cp() argument
799 tse->ret_addr = ret_addr; in thread_stack__push_cp()
815 u64 ret_addr, u64 timestamp, u64 ref, in thread_stack__pop_cp() argument
831 if (ts->stack[ts->cnt - 1].ret_addr == ret_addr && in thread_stack__pop_cp()
839 if (ts->stack[i].ret_addr != ret_addr || in thread_stack__pop_cp()
1024 u64 ret_addr; in thread_stack__trace_end() local
1033 ret_addr = sample->ip + sample->insn_len; in thread_stack__trace_end()
1035 return thread_stack__push_cp(ts, ret_addr, sample->time, ref, cp, in thread_stack__trace_end()
1152 u64 ret_addr; in thread_stack__process() local
1157 ret_addr = sample->ip + sample->insn_len; in thread_stack__process()
1158 if (ret_addr == sample->addr) in thread_stack__process()
1164 err = thread_stack__push_cp(ts, ret_addr, sample->time, ref, in thread_stack__process()
1193 ts->stack[ts->cnt - 1].ret_addr != sample->addr) in thread_stack__process()