Lines Matching refs:next_ip
53 unsigned long next_ip; in perf_callchain_kernel() local
76 next_ip = regs->nip; in perf_callchain_kernel()
83 next_ip = lr; in perf_callchain_kernel()
85 next_ip = fp[STACK_FRAME_LR_SAVE]; in perf_callchain_kernel()
94 if ((level == 1 && next_ip == lr) || in perf_callchain_kernel()
95 (level <= 1 && !kernel_text_address(next_ip))) in perf_callchain_kernel()
96 next_ip = 0; in perf_callchain_kernel()
101 perf_callchain_store(entry, next_ip); in perf_callchain_kernel()
227 unsigned long next_ip; in perf_callchain_user_64() local
233 next_ip = regs->nip; in perf_callchain_user_64()
236 perf_callchain_store(entry, next_ip); in perf_callchain_user_64()
242 if (level > 0 && read_user_stack_64(&fp[2], &next_ip)) in perf_callchain_user_64()
252 (is_sigreturn_64_address(next_ip, sp) || in perf_callchain_user_64()
260 if (read_user_stack_64(&uregs[PT_NIP], &next_ip) || in perf_callchain_user_64()
266 perf_callchain_store(entry, next_ip); in perf_callchain_user_64()
271 next_ip = lr; in perf_callchain_user_64()
272 perf_callchain_store(entry, next_ip); in perf_callchain_user_64()
393 unsigned int next_sp, unsigned int next_ip) in signal_frame_32_regs() argument
406 is_sigreturn_32_address(next_ip, sp) && in signal_frame_32_regs()
413 is_rt_sigreturn_32_address(next_ip, sp) && in signal_frame_32_regs()
428 unsigned int next_ip; in perf_callchain_user_32() local
433 next_ip = regs->nip; in perf_callchain_user_32()
436 perf_callchain_store(entry, next_ip); in perf_callchain_user_32()
442 if (level > 0 && read_user_stack_32(&fp[1], &next_ip)) in perf_callchain_user_32()
445 uregs = signal_frame_32_regs(sp, next_sp, next_ip); in perf_callchain_user_32()
453 if (read_user_stack_32(&uregs[PT_NIP], &next_ip) || in perf_callchain_user_32()
459 perf_callchain_store(entry, next_ip); in perf_callchain_user_32()
464 next_ip = lr; in perf_callchain_user_32()
465 perf_callchain_store(entry, next_ip); in perf_callchain_user_32()