![]() |
![]()
| ![]() |
![]()
NAME
SYNOPSISkinst::<function>:<instruction> DESCRIPTIONThe DTrace
IMPLEMENTATION NOTESThe provider is currently implemented only for amd64. EXAMPLESFind the offset corresponding to the third instruction in
# kgdb (kgdb) disas /r vm_fault Dump of assembler code for function vm_fault: 0xffffffff80876df0 <+0>: 55 push %rbp 0xffffffff80876df1 <+1>: 48 89 e5 mov %rsp,%rbp 0xffffffff80876df4 <+4>: 41 57 push %r15 # dtrace -n 'kinst::vm_fault:4 {printf("%#x", regs[R_RSI]);}' 2 81500 vm_fault:4 0x827c56000 2 81500 vm_fault:4 0x827878000 2 81500 vm_fault:4 0x1fab9bef0000 2 81500 vm_fault:4 0xe16cf749000 0 81500 vm_fault:4 0x13587c366000 ... Trace all instructions in
# dtrace -n 'kinst::amd64_syscall:' SEE ALSOHISTORYThe AUTHORSThis manual page was written by Christos Margiolis <christos@FreeBSD.org>.
|