Created
August 12, 2013 08:37
-
-
Save omorandi/6209130 to your computer and use it in GitHub Desktop.
Tracing JSC calls with dtrace
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
sudo dtrace -n 'JavaScriptCore*:::profile-will_execute{ trace(arg0); trace(copyinstr(arg1)); trace(copyinstr(arg2)); trace(arg3) }' -n 'JavaScriptCore*:::profile-did_execute{ trace(arg0); trace(copyinstr(arg1)); trace(copyinstr(arg2)); trace(arg3) }' | |
arg0: profileGroup (int) | |
arg1: function (string) | |
arg2: file-url (string) | |
arg3: line (int) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment