What is the difference between arg0 and arg1 when using dtrace.
dtrace -n 'profile-997 /arg0/ { @[stack()] = count() }
dtrace -n 'profile-997 /arg1/ { @[ustack()] = count() }
For example, the two scripts above record number of each stack. I just wonder why arg0 indicate it is a kernel stack while arg1 a user space stack.