/tools/perf/arch/x86/tests/ |
D | bp-modify.c | 63 unsigned long rip = 0, dr7 = 1; in bp_modify1() local 112 rip = ptrace(PTRACE_PEEKUSER, child, in bp_modify1() 113 offsetof(struct user_regs_struct, rip), NULL); in bp_modify1() 114 if (rip == (unsigned long) -1) { in bp_modify1() 120 pr_debug("rip %lx, bp_1 %p\n", rip, bp_1); in bp_modify1() 128 return rip == (unsigned long) bp_1 ? TEST_OK : TEST_FAIL; in bp_modify1() 140 unsigned long rip = 0, dr7 = 1; in bp_modify2() local 188 rip = ptrace(PTRACE_PEEKUSER, child, in bp_modify2() 189 offsetof(struct user_regs_struct, rip), NULL); in bp_modify2() 190 if (rip == (unsigned long) -1) { in bp_modify2() [all …]
|
/tools/testing/selftests/x86/ |
D | sysret_rip.c | 67 static volatile unsigned long rip; variable 73 if (rip != ctx->uc_mcontext.gregs[REG_RIP]) { in sigsegv_for_sigreturn_test() 75 rip, (unsigned long)ctx->uc_mcontext.gregs[REG_RIP]); in sigsegv_for_sigreturn_test() 82 printf("[OK]\tGot SIGSEGV at RIP=0x%lx\n", rip); in sigsegv_for_sigreturn_test() 92 ctx->uc_mcontext.gregs[REG_RIP] = rip; in sigusr1() 93 ctx->uc_mcontext.gregs[REG_RCX] = rip; in sigusr1() 106 rip = ip; in test_sigreturn_to() 117 if (rip != ctx->uc_mcontext.gregs[REG_RIP]) { in sigsegv_for_fallthrough() 119 rip, (unsigned long)ctx->uc_mcontext.gregs[REG_RIP]); in sigsegv_for_fallthrough() 150 rip = ip; in test_syscall_fallthrough_to()
|
D | ptrace_syscall.c | 27 # define user_ip rip
|
/tools/lib/traceevent/plugins/ |
D | plugin_kvm.c | 40 static const char *disassemble(unsigned char *insn, int len, uint64_t rip, in disassemble() argument 57 ud_set_pc(&ud, rip); in disassemble() 70 static const char *disassemble(unsigned char *insn, int len, uint64_t rip, in disassemble() argument 298 unsigned long long rip, csbase, len, flags, failed; in kvm_emulate_insn_handler() local 303 if (tep_get_field_val(s, event, "rip", record, &rip, 1) < 0) in kvm_emulate_insn_handler() 322 disasm = disassemble(insn, len, rip, in kvm_emulate_insn_handler() 328 trace_seq_printf(s, "%llx:%llx: %s%s", csbase, rip, disasm, in kvm_emulate_insn_handler()
|
/tools/perf/util/ |
D | map.c | 512 u64 map__rip_2objdump(struct map *map, u64 rip) in map__rip_2objdump() argument 529 return rip; in map__rip_2objdump() 532 return rip - map->pgoff; in map__rip_2objdump() 539 return rip + map->dso->text_offset; in map__rip_2objdump() 541 return map->unmap_ip(map, rip) - map->reloc; in map__rip_2objdump()
|
D | map.h | 76 u64 map__rip_2objdump(struct map *map, u64 rip);
|
D | intel-pt.c | 1734 sample.ip = items->rip; in intel_pt_synth_pebs_sample()
|
/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-decoder.h | 160 uint64_t rip; member
|
/tools/testing/selftests/kvm/x86_64/ |
D | sync_regs_test.c | 63 REG_COMPARE(rip); in compare_regs()
|
/tools/testing/selftests/kvm/lib/x86_64/ |
D | vmx.c | 306 static inline void init_vmcs_guest_state(void *rip, void *rsp) in init_vmcs_guest_state() argument 368 vmwrite(GUEST_RIP, (uint64_t)rip); in init_vmcs_guest_state()
|
D | processor.c | 115 regs->rip, regs->rflags); in regs_dump() 666 regs.rip = (unsigned long) guest_code; in vm_vcpu_add_default()
|
/tools/arch/x86/include/uapi/asm/ |
D | kvm.h | 122 __u64 rip, rflags; member
|
/tools/testing/selftests/bpf/ |
D | bpf_helpers.h | 406 #define PT_REGS_IP(x) ((x)->rip)
|
/tools/include/uapi/linux/ |
D | kvm.h | 316 __u64 rip; member
|