I am trying to run multiple dtrace scripts at the same time which does on-cpu and off-cpu stack traces of the same pid.
After I run one of the script, the second one throws an error saying that pid is already being traced.
Is there any way to run multiple scripts tracing the same pid? I can't combine the scripts because I want the output to be in different files.