On Sun, Feb 10, 2008 at 02:29:26AM -0800, Matthieu Chase Heimer wrote: > Does -Z help?
While -Z will certainly make the error message go away, it's not necessarily the solution to the problem. The -Z flag tells dtrace(1m) to keep running even if the specified probes don't (yet) exist. If they're later created (e.g. because a shared object containing USDT probes is loaded) then those probes will be matched and traced. -Z isn't the default because it can lead to problems. For example, typos won't be reported so, for example if I specified fbt::entry rather than fbt:::entry or java*::: rather than hotspot*::: the command wouldn't complain, but neither would I trace what I expected to trace. There are situations in which -Z needs to be used because -- for example if the probes being traced are in a object that's not loaded initially -- but it should be used sparingly as it can lead to confusion. Adam -- Adam Leventhal, Fishworks http://blogs.sun.com/ahl _______________________________________________ dtrace-discuss mailing list [email protected]
