summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authortrz <trz>2005-10-19 19:35:35 +0000
committertrz <trz>2005-10-19 19:35:35 +0000
commit08c68653dd3dc7921339dfe4627c464ef4249faa (patch)
tree39fce1e3feea2bb68ecb3dad2aad51d3f3fa601c /main.cxx
parent707cb4bfb6e6e918dba16021ca0ae29671660d68 (diff)
downloadsystemtap-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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.cxx b/main.cxx
index 88ee9540..ca9bfc69 100644
--- a/main.cxx
+++ b/main.cxx
@@ -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':