Skip to content

Instantly share code, notes, and snippets.

@azat
Created July 22, 2013 20:56
Show Gist options
  • Save azat/6057582 to your computer and use it in GitHub Desktop.
Save azat/6057582 to your computer and use it in GitHub Desktop.
#!/usr/sbin/dtrace -s
pid$1::*executeCommand*:entry
{
printf("query enter\n")
}
pid$1::*executeCommand*:return
{
printf("query leave\n")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment