Saving probe point tuples to a file

The save command can be used to save the tuple data for a breakpoint or trace point to a file for later use.

To save tuple data, enter the save command from the Streams Debugger.
(sdb) save 0 MySavedBreakpoint
writing to file ./data/MySavedBreakpoint
(sdb)
For breakpoints, the save command can be only used if the breakpoint is stopped in which case the tuple for the stopped breakpoint is written to the file.

For trace points, all tuples currently in the trace point's cache are written to the file. If there are no tuples in the cache, the written file is empty.

The tuples are written to the file in comma-separated value format.

-bash-3.00$ cat data/MySavedBreakpoint
# lines,wcs
# int32,tuple<int32 words,int32 chars>
47,{words=229,chars=2111}