diff options
author | trz <trz> | 2005-10-19 19:35:35 +0000 |
---|---|---|
committer | trz <trz> | 2005-10-19 19:35:35 +0000 |
commit | 08c68653dd3dc7921339dfe4627c464ef4249faa (patch) | |
tree | 39fce1e3feea2bb68ecb3dad2aad51d3f3fa601c /main.cxx | |
parent | 707cb4bfb6e6e918dba16021ca0ae29671660d68 (diff) | |
download | systemtap-steved-08c68653dd3dc7921339dfe4627c464ef4249faa.tar.gz systemtap-steved-08c68653dd3dc7921339dfe4627c464ef4249faa.tar.xz systemtap-steved-08c68653dd3dc7921339dfe4627c464ef4249faa.zip |
fixes part of PR1194 (passing -o option to stpd)
Diffstat (limited to 'main.cxx')
-rw-r--r-- | main.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -110,7 +110,6 @@ main (int argc, char * const argv []) string cmdline_script; // -e PROGRAM string script_file; // FILE bool have_script = false; - string output_file = "-"; // -o FILE // Initialize defaults systemtap_session s; @@ -124,6 +123,7 @@ main (int argc, char * const argv []) s.buffer_size = 0; s.last_pass = 5; s.module_name = "stap_" + stringify(getpid()); + s.output_file = ""; // -o FILE s.keep_tmpdir = false; s.cmd = ""; s.target_pid = 0; @@ -176,7 +176,7 @@ main (int argc, char * const argv []) break; case 'o': - output_file = string (optarg); + s.output_file = string (optarg); break; case 't': |