daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Dec 1st, 2015 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function trace(entry_p, extra) {
  2.   %( $# > 1 %? if (tid() in trace) %)
  3.   printf("%s%s%s %s\n",
  4.          thread_indent (entry_p),
  5.          (entry_p>0?"->":"<-"),
  6.          ppfunc (),
  7.          extra)
  8. }
  9. //probe module("nfs").function("*").call   { trace(1, $$parms) }
  10. //probe module("nfs").function("*").return { trace(-1, $$return) }
  11.  
  12. //probe module("vboxsf").function("*").call   { trace(1, $$parms) }
  13. //probe module("vboxsf").function("*").return { trace(-1, $$return) }
  14.  
  15. probe module("ext4").function("*").call   { trace(1, $$parms) }
  16. probe module("ext4").function("*").return { trace(-1, $$return) }
  17.  
  18. //probe kernel.function("*@mm/filemap.c").call { trace(1, $$parms) }
  19. //probe kernel.function("*@mm/filemap.c").return { trace(-1, $$return) }
  20.  
  21. //probe kernel.function("*@mm/readahead.c").call { trace(1, $$parms) }
  22. //probe kernel.function("*@mm/readahead.c").return { trace(-1, $$return) }
  23.  
  24. //probe kernel.function("generic_file_read_iter").call { trace(1, $$parms) }
  25. //probe kernel.function("generic_file_read_iter").return { trace(-1, $$return) }
  26.  
  27. probe kernel.function("*@mm/page-writeback.c").call { trace(1, $$parms) }
  28. probe kernel.function("*@mm/page-writeback.c").return { trace(-1, $$return) }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top