Lines Matching refs:ip
516 static inline u64 callchain_context(u64 ip, u64 kernel_start) in callchain_context() argument
518 return ip < kernel_start ? PERF_CONTEXT_USER : PERF_CONTEXT_KERNEL; in callchain_context()
523 size_t sz, u64 ip, u64 kernel_start) in thread_stack__sample() argument
526 u64 context = callchain_context(ip, kernel_start); in thread_stack__sample()
536 chain->ips[1] = ip; in thread_stack__sample()
546 ip = ts->stack[ts->cnt - j].ret_addr; in thread_stack__sample()
547 context = callchain_context(ip, kernel_start); in thread_stack__sample()
554 chain->ips[i] = ip; in thread_stack__sample()
570 u64 last_context, context, ip; in thread_stack__sample_late() local
587 ip = ts->stack[ts->cnt - j].ret_addr; in thread_stack__sample_late()
588 context = callchain_context(ip, kernel_start); in thread_stack__sample_late()
590 (context == sample_context && ip == sample_ip)) in thread_stack__sample_late()
597 ip = ts->stack[ts->cnt - j].ret_addr; in thread_stack__sample_late()
598 context = callchain_context(ip, kernel_start); in thread_stack__sample_late()
605 chain->ips[nr] = ip; in thread_stack__sample_late()
680 u64 ip, u64 kernel_start) in thread_stack__br_sample_late() argument
703 if (ip < kernel_start) { in thread_stack__br_sample_late()
732 if (ks_start(s, ip, kernel_start, &start, nb)) { in thread_stack__br_sample_late()
741 if (ks_start(s, ip, kernel_start, &start, nb)) { in thread_stack__br_sample_late()
867 u64 ip; in thread_stack__bottom() local
869 if (sample->ip) { in thread_stack__bottom()
870 ip = sample->ip; in thread_stack__bottom()
873 ip = sample->addr; in thread_stack__bottom()
879 cp = call_path__findnew(cpr, &cpr->call_path, sym, ip, in thread_stack__bottom()
882 return thread_stack__push_cp(ts, ip, sample->time, ref, cp, in thread_stack__bottom()
917 u64 ip = sample->ip; in thread_stack__no_call_return() local
920 if (ip >= ks && addr < ks) { in thread_stack__no_call_return()
932 } else if (thread_stack__in_kernel(ts) && ip < ks) { in thread_stack__no_call_return()
988 cp = call_path__findnew(cpr, cp, fsym, ip, ks); in thread_stack__no_call_return()
990 err = thread_stack__push_cp(ts, ip, tm, ref, cp, true, false); in thread_stack__no_call_return()
1033 ret_addr = sample->ip + sample->insn_len; in thread_stack__trace_end()
1154 if (!sample->ip || !sample->addr) in thread_stack__process()
1157 ret_addr = sample->ip + sample->insn_len; in thread_stack__process()
1188 if (!sample->ip) in thread_stack__process()