diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-06-13 18:08:40 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-06-13 18:08:40 -0400 |
commit | 422dc4e1e86dd92b3247a40296148c688bc3df68 (patch) | |
tree | 70451e5188f13857edadbea8c249bc2c075698fc /main.cxx | |
parent | 46e2c2c1322c6972a6deb0b4685c23539e369d5b (diff) | |
download | systemtap-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.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); |