diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2009-03-20 13:31:18 -0400 |
---|---|---|
committer | Masami Hiramatsu <mhiramat@redhat.com> | 2009-03-20 13:31:18 -0400 |
commit | 701c41be909697d5ab36f7604a1f3620c7d04abc (patch) | |
tree | b9dda527c756bbdbb6cd3c243b713073ec00c698 /stap.1.in | |
parent | acd56c22068963ad48f39890f5307600ff7d5278 (diff) | |
download | systemtap-steved-701c41be909697d5ab36f7604a1f3620c7d04abc.tar.gz systemtap-steved-701c41be909697d5ab36f7604a1f3620c7d04abc.tar.xz systemtap-steved-701c41be909697d5ab36f7604a1f3620c7d04abc.zip |
PR6930: stap: supports on-file flight recorder options
Add on-file flight recorder options (the combination of -F and -o,
and -S option) to stap command, and change manpages and NEWS.
- Both of -F and -o is specified, stap passes -D option to staprun.
- stap just passes -S option to staprun.
Diffstat (limited to 'stap.1.in')
-rw-r--r-- | stap.1.in | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -175,7 +175,7 @@ even if they do not have an explicit probe placed into them. .TP .BI \-o " FILE" Send standard output to named file. In bulk mode, percpu files will -start with FILE_ followed by the cpu number. +start with FILE_ (FILE_cpu with -F) followed by the cpu number. .TP .BI \-c " CMD" Start the probes, run CMD, and exit when CMD finishes. @@ -193,8 +193,18 @@ and aliases. Similar to "-l", but list probe points and script-level local variables. .TP .BI \-F -Load module and start probes, then detach from the module leaving the -probes running. +Without -o option, load module and start probes, then detach from the module +leaving the probes running. +With -o option, run staprun in background as a daemon and show it's pid. +.TP +.BI \-S " size[,N]" +Sets the maximum size of output file and the maximum number of output files. +If the size of output file will exceed +.B size +, systemtap switches output file to the next file. And if the number of +output files exceed +.B N +, systemtap removes the oldest output file. You can omit the second argument. .TP .B \-\-kelf For names and addresses of functions to probe, |