Greetings,

is there a way to specify probes and other dtrace operations via command 
line parameters, like
"

BEGIN
{
     usr_exec=$$1;
     usr_syscall=$$2;
}

syscall::usr_syscall:entry
/execname == usr_exec && guard++ == 0/
{
...
"
[this does not work]

This would make it possible to create "generic" dtrace scripts.

Otherwise, some shellscript with sed-magic would need to be used.

  thanks Joachim

-- 
Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
phone ++49/(0)228/324 08 17 - http://www.dolphinics.com
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to