Created
August 21, 2012 05:15
-
-
Save clee/3411939 to your computer and use it in GitHub Desktop.
script to trace invocations of 'free'
This file contains 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
#!/usr/sbin/dtrace | |
pid$target::free:entry | |
{ | |
printf("%s: %s\n", probefunc, copyinstr(arg0)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment