Skip to content

Instantly share code, notes, and snippets.

@ztmr
Created September 30, 2012 11:47
Show Gist options
  • Save ztmr/3806553 to your computer and use it in GitHub Desktop.
Save ztmr/3806553 to your computer and use it in GitHub Desktop.
/proc/dtrace/{fasttrap,stats}
$ cat /proc/dtrace/fasttrap
tpoints=1024 procs=256 provs=256 total=10081
# TRCP: pid pc type size base index seg
# PROV: pid name marked retired rcount ccount mcount
# PROC: pid acount rcount
PROC 29066 1 1
$
$
$ cat /proc/dtrace/stats
probes=48081955
probe_recursion=0
int3_1=0
int3_2(ours)=0
int3_3(reentr)=0
int_0x7f=0
gpf1=0
gpf2=0
ipi1=1503
mtx1=48483487
mtx2=5458616
mtx3=0
nmi1=0
nmi2=0
pf1=36877446
pf2=0
snp1=0
snp2=0
syscall1=48089867
syscall2=48086276
syscall3=0
timer1=11810
timer2(rec)=545
timer3(defer-cancel)=0
timer_add=10
timer_remove=10
xcall0=0
xcall1=15135
xcall2=14927
xcall3(reentrant)=0
xcall4(delay)=0
xcall5(spinlock)=99
xcall6(ack_waits)=857622
xcall7(fast)=94203
xcall8=0
shutdown=0
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment