Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ruby Dtrace probe script that fires whenever a cmethod is about to call
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
You can’t perform that action at this time.