Hi,

I tried, naively, to do something like:
#!/usr/sbin/dtrace -qs



pid$$1:*::entry
{
  printf("start %s(arg0=%d)\n",probefunc,arg0);
}

pid$$1:*::return
{
  printf("end %s\n",probefunc);
}

But dtrace said:
dtrace: failed to compile script dtrace.all_arg.d: line 5: failed to
create probe in process 10422: Not enough space

Is there a way around that? At the moment I am creating one probe per
function of interest, but I always need more functions and need to run
my program again and again.

Speed is not an issue as the program is under Purify already... So you
can tell I am OK with a slow program ;-)

  Thanks,

  Pierre-Olivier
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to