summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-09-01 15:20:39 -0500
committerDavid Smith <dsmith@redhat.com>2009-09-01 15:20:39 -0500
commit635035ca64e9c6e6ad8252545446bbf9bc2a9c55 (patch)
tree33c024e1ee5e3c9be667378182e4189855b0ac86 /main.cxx
parent4569f6bb769482d732f72fb1208522d51f4e36f4 (diff)
downloadsystemtap-steved-635035ca64e9c6e6ad8252545446bbf9bc2a9c55.tar.gz
systemtap-steved-635035ca64e9c6e6ad8252545446bbf9bc2a9c55.tar.xz
systemtap-steved-635035ca64e9c6e6ad8252545446bbf9bc2a9c55.zip
PR10552: Removed references to the merge ('-M') option.
* hash.cxx (find_script_hash): Removed unused merge option. * main.cxx (checkOptions): Removed merge option checks. (main): Removed merge option. * session.h: Ditto. * initscript/README.initscript: Removed reference to '-M' option. * initscript/systemtap.in (stap_getopt): Ditto. * testsuite/parseko/cmdline01.stp: Removed merge option test. * testsuite/parseko/cmdline05.stp: Ditto.
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx19
1 files changed, 1 insertions, 18 deletions
diff --git a/main.cxx b/main.cxx
index 9887f2b7..b97d0092 100644
--- a/main.cxx
+++ b/main.cxx
@@ -368,18 +368,6 @@ checkOptions (systemtap_session &s)
{
bool optionsConflict = false;
- if(!s.bulk_mode && !s.merge)
- {
- cerr << "-M option is valid only for bulk (relayfs) mode." <<endl;
- optionsConflict = true;
- }
-
- if(!s.output_file.empty() && s.bulk_mode && !s.merge)
- {
- cerr << "You can't specify -M, -b and -o options together." <<endl;
- optionsConflict = true;
- }
-
if((s.cmd != "") && (s.target_pid))
{
cerr << "You can't specify -c and -x options together." <<endl;
@@ -504,7 +492,6 @@ main (int argc, char * const argv [])
s.keep_tmpdir = false;
s.cmd = "";
s.target_pid = 0;
- s.merge=true;
s.perfmon=0;
s.symtab = false;
s.use_cache = true;
@@ -610,7 +597,7 @@ main (int argc, char * const argv [])
{ "unprivileged", 0, &long_opt, LONG_OPT_UNPRIVILEGED },
{ NULL, 0, NULL, 0 }
};
- int grc = getopt_long (argc, argv, "hVMvtp:I:e:o:R:r:a:m:kgPc:x:D:bs:uqwl:d:L:FS:B:",
+ int grc = getopt_long (argc, argv, "hVvtp:I:e:o:R:r:a:m:kgPc:x:D:bs:uqwl:d:L:FS:B:",
long_options, NULL);
if (grc < 0)
break;
@@ -620,10 +607,6 @@ main (int argc, char * const argv [])
version ();
exit (0);
- case 'M':
- s.merge = false;
- break;
-
case 'v':
for (unsigned i=0; i<5; i++)
s.perpass_verbose[i] ++;