summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-06-13 18:08:40 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-06-13 18:08:40 -0400
commit422dc4e1e86dd92b3247a40296148c688bc3df68 (patch)
tree70451e5188f13857edadbea8c249bc2c075698fc /main.cxx
parent46e2c2c1322c6972a6deb0b4685c23539e369d5b (diff)
downloadsystemtap-steved-422dc4e1e86dd92b3247a40296148c688bc3df68.tar.gz
systemtap-steved-422dc4e1e86dd92b3247a40296148c688bc3df68.tar.xz
systemtap-steved-422dc4e1e86dd92b3247a40296148c688bc3df68.zip
make "-p4 -m FOO" mode consistent with ordinary -p4
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.cxx b/main.cxx
index bba27e31..58d7fa9f 100644
--- a/main.cxx
+++ b/main.cxx
@@ -499,7 +499,6 @@ main (int argc, char * const argv [])
}
}
- cerr << "Warning: using '-m' disables cache support." << endl;
s.use_cache = false;
break;
@@ -972,7 +971,10 @@ main (int argc, char * const argv [])
rc = compile_pass (s);
if (rc == 0 && s.last_pass == 4)
- cout << s.hash_path << endl;
+ {
+ cout << ((s.hash_path == "") ? (s.module_name + string(".ko")) : s.hash_path);
+ cout << endl;
+ }
times (& tms_after);
gettimeofday (&tv_after, NULL);