venture37

Perl 5 built with DTrace support on OS X

Jul 18th, 2015
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. $ sudo dtrace -ln 'perl$target:::sub-entry, perl$target:::sub-return { printf("%s %s (%s:%d)\n", probename == "sub-entry" ? "->" : "<-", copyinstr(arg0), copyinstr(arg1), arg2); }' -c /Users/sme/p5hd/bin/perl
  2. ID PROVIDER MODULE FUNCTION NAME
  3. 4834 perl10995 libperl.dylib Perl_pp_sort sub-entry
  4. 4835 perl10995 libperl.dylib S_regmatch sub-entry
  5. 4836 perl10995 libperl.dylib Perl_pp_dbstate sub-entry
  6. 4837 perl10995 libperl.dylib Perl_pp_entersub sub-entry
  7. 4838 perl10995 libperl.dylib Perl_pp_sort sub-return
  8. 4839 perl10995 libperl.dylib Perl_pp_last sub-return
  9. 4840 perl10995 libperl.dylib Perl_pp_leavesublv sub-return
  10. 4841 perl10995 libperl.dylib S_return_lvalues sub-return
  11. 4842 perl10995 libperl.dylib Perl_pp_return sub-return
  12. 4843 perl10995 libperl.dylib Perl_dounwind sub-return
  13. 4844 perl10995 libperl.dylib Perl_pp_leavesub sub-return
Advertisement
Add Comment
Please, Sign In to add comment