Rich Morin wrote: > > Of course, there are some complications. For example, > DTrace isn't equipped with string-handling facilities, > so it can be hard to generate output that can be parsed > reliably. >
Unless I'm misunderstanding what you mean here (a real possibility), DTrace has plenty of string handling capability in the form of real string variables (as opposed to C's character arrays), "str*" functions, and a fully functional printf action. After you turn on "option quiet", there should be no format you can't generate. The only real issues with output in DTrace is records with a variable number of items in the output, due to the fixed length record coming from the probe's action statements. There are ways to get around that, but it can get intense if the "variability" is extreme. Chip _______________________________________________ dtrace-discuss mailing list [email protected]
