Created
August 16, 2018 16:21
-
-
Save we4tech/bd986a101b178a917cf3774029f386bd to your computer and use it in GitHub Desktop.
Ruby Dtrace probe script that fires whenever a cmethod is about to call
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby*:::cmethod-entry | |
{ | |
printf("%s(%d) called from %s#%s\nSource:%s:%d\n", execname, pid, copyinstr(arg0), copyinstr(arg1), copyinstr(arg2), arg3) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment