search for: usr_syscall

Displaying 1 result from an estimated 1 matches for "usr_syscall".

Did you mean: si_syscall
2008 Aug 19
3
variables in dtrace scripts
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,...