Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global i
- global traces_ref
- probe
- process("/usr/local/sbin/gluster*").library("/usr/local/lib/libglusterfs.so.0").function("dict_ref"){
- ptr = $this
- t=sprint_ubacktrace()
- traces_ref[ptr, i] = t
- i++
- printf("[%x, %d] = %s\n\n",ptr,i,t)
- }
- probe timer.s(20){
- printf("printing sorted data\n")
- foreach ([p-,q] in traces_ref){
- printf("[%x, %d] = %s\n",ptr,i,t)
- }
- }
Add Comment
Please, Sign In to add comment