Skip to content

Instantly share code, notes, and snippets.

@dat-boris
Created December 31, 2013 00:41
Show Gist options
  • Save dat-boris/8190596 to your computer and use it in GitHub Desktop.
Save dat-boris/8190596 to your computer and use it in GitHub Desktop.
Python dtrace script for tracing function call
#!/usr/sbin/dtrace -Zs
python$target:::function-entry
{
trace(copyinstr(arg1));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment