Lines Matching refs:next_ip
54 unsigned long next_ip; in perf_callchain_kernel() local
77 next_ip = regs->nip; in perf_callchain_kernel()
84 next_ip = lr; in perf_callchain_kernel()
86 next_ip = fp[STACK_FRAME_LR_SAVE]; in perf_callchain_kernel()
95 if ((level == 1 && next_ip == lr) || in perf_callchain_kernel()
96 (level <= 1 && !kernel_text_address(next_ip))) in perf_callchain_kernel()
97 next_ip = 0; in perf_callchain_kernel()
102 perf_callchain_store(entry, next_ip); in perf_callchain_kernel()
240 unsigned long next_ip; in perf_callchain_user_64() local
246 next_ip = perf_instruction_pointer(regs); in perf_callchain_user_64()
249 perf_callchain_store(entry, next_ip); in perf_callchain_user_64()
255 if (level > 0 && read_user_stack_64(&fp[2], &next_ip)) in perf_callchain_user_64()
265 (is_sigreturn_64_address(next_ip, sp) || in perf_callchain_user_64()
273 if (read_user_stack_64(&uregs[PT_NIP], &next_ip) || in perf_callchain_user_64()
279 perf_callchain_store(entry, next_ip); in perf_callchain_user_64()
284 next_ip = lr; in perf_callchain_user_64()
285 perf_callchain_store(entry, next_ip); in perf_callchain_user_64()
412 unsigned int next_sp, unsigned int next_ip) in signal_frame_32_regs() argument
425 is_sigreturn_32_address(next_ip, sp) && in signal_frame_32_regs()
432 is_rt_sigreturn_32_address(next_ip, sp) && in signal_frame_32_regs()
447 unsigned int next_ip; in perf_callchain_user_32() local
452 next_ip = perf_instruction_pointer(regs); in perf_callchain_user_32()
455 perf_callchain_store(entry, next_ip); in perf_callchain_user_32()
461 if (level > 0 && read_user_stack_32(&fp[1], &next_ip)) in perf_callchain_user_32()
464 uregs = signal_frame_32_regs(sp, next_sp, next_ip); in perf_callchain_user_32()
472 if (read_user_stack_32(&uregs[PT_NIP], &next_ip) || in perf_callchain_user_32()
478 perf_callchain_store(entry, next_ip); in perf_callchain_user_32()
483 next_ip = lr; in perf_callchain_user_32()
484 perf_callchain_store(entry, next_ip); in perf_callchain_user_32()