[self note:@”Mac OS X, Solaris dtrace”];
opensnoop didn’t really cut it, so here we go:
syscall::open*:entry
{
printf(”%s %s”, execname, copyinstr(arg0));
}
syscall::stat*:entry
{
printf(”%s %s”, execname, copyinstr(arg0));
}
opensnoop didn’t really cut it, so here we go:
syscall::open*:entry
{
printf(”%s %s”, execname, copyinstr(arg0));
}
syscall::stat*:entry
{
printf(”%s %s”, execname, copyinstr(arg0));
}
You must be logged in to post a comment.