4 stap\-merge \- systemtap per-cpu binary merger
32 The stap\-merge executable applies when the \-b option has been used
35 script. The \-b option will generate files
36 per\-cpu, based on the timestamp field. Then stap\-merge will
37 merge and sort through the per-cpu files based on the timestamp
42 The systemtap merge executable supports the following options.
45 Verbose mode, displays three extra fields per set of collected data.
47 .BR [cpu number, sequence number of data, the length of the data set]
50 .BI \-o " OUTPUT_FILENAME"
52 Specify the name of the file you would like the output to be
53 redirected into. If this option is not specified than the
54 output will be pushed to standard out.
58 $ stap \-v \-b \-e 'probe syscall.open { printf("%s(%d) open\\n",
63 This should result in several
65 files (each labled with a number
66 representing which cpu the file was produced from).
69 $ stap\-merge \-v stpd_cpu0 stpd_cpu1
73 Running the stap\-merge program in the same directory as the stap
74 script earlier in the example, will produce an ordered sequence of
75 packets with the three part label for each set of data. This
76 result will be pushed through the standard output. An output file
77 could have been specified using the "\-o" option.
82 Important files and their corresponding paths can be located in the
83 stappaths (7) manual page.
86 .IR stapprobes (3stap),
87 .IR stapfuncs (3stap),
96 Use the Bugzilla link of the project web page or our mailing list.
98 .BR http://sourceware.org/systemtap/ , <systemtap@sourceware.org> .