Skip to content

Instantly share code, notes, and snippets.

@arekinath
Created October 18, 2013 05:35
Show Gist options
  • Save arekinath/7036936 to your computer and use it in GitHub Desktop.
Save arekinath/7036936 to your computer and use it in GitHub Desktop.
# cat zdop.d
pid$target::zdoor_open:entry
{
printf("zdoor_open(%s, %s)\n",
copyinstr(arg1), copyinstr(arg2));
}
# dtrace -p $(pgrep beam.smp) -s zdop.d
dtrace: script 'zdop.d' matched 1 probe
CPU ID FUNCTION:NAME
6 73992 zdoor_open:entry zdoor_open(gs516-2743-builder, _joyent_sshd_key_is_authorized)
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment