diff options
author | fche <fche> | 2005-10-06 18:59:50 +0000 |
---|---|---|
committer | fche <fche> | 2005-10-06 18:59:50 +0000 |
commit | f12b25521d41eacf1af8ce216fa2b39d81b54208 (patch) | |
tree | 55be6efd77c4afa0c61619a03a558a3c80750bb3 /main.cxx | |
parent | 33f88a80b716a37e6ef7b474622457906cc1f4f0 (diff) | |
download | systemtap-steved-f12b25521d41eacf1af8ce216fa2b39d81b54208.tar.gz systemtap-steved-f12b25521d41eacf1af8ce216fa2b39d81b54208.tar.xz systemtap-steved-f12b25521d41eacf1af8ce216fa2b39d81b54208.zip |
2005-10-06 Frank Ch. Eigler <fche@elastic.org>
* stap.1.in: Document -b/-s options.
* main.cxx (usage): Clarify -b/-s blurbs.
* translator.cxx (translate_pass): Handle bulk_mode here instead.
Diffstat (limited to 'main.cxx')
-rw-r--r-- | main.cxx | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -1,5 +1,6 @@ // systemtap translator/driver // Copyright (C) 2005 Red Hat Inc. +// Copyright (C) 2005 IBM Corp. // // This file is part of systemtap, and is free software. You can // redistribute it and/or modify it under the terms of the GNU General @@ -61,8 +62,8 @@ usage (systemtap_session& s) << " -k keep temporary directory" << endl // << " -t test mode" << (s.test_mode ? " [set]" : "") << endl << " -g guru mode" << (s.guru_mode ? " [set]" : "") << endl - << " -b bulk mode" << (s.bulk_mode ? " [set]" : "") << endl - << " -s buffer size (in Mb)" << endl + << " -b bulk (relayfs) mode" << (s.bulk_mode ? " [set]" : "") << endl + << " -s NUM buffer size in megabytes" << endl << " -p NUM stop after pass NUM 1-5" << endl << " (parse, elaborate, translate, compile, run)" << endl << " -I DIR look in DIR for additional .stp script files"; @@ -78,10 +79,11 @@ usage (systemtap_session& s) << " " << s.runtime_path << endl // << " -r RELEASE use kernel RELEASE, instead of" << endl // << " " << s.kernel_release << endl - << " -m MODULE set probe module name, instead of" << endl - << " " << s.module_name << endl + << " -m MODULE set probe module name, instead of " + << s.module_name << endl << " -o FILE send output to file instead of stdout" << endl - << " -c CMD start the probes, run CMD, and exit when it finishes" << endl + << " -c CMD start the probes, run CMD, and exit when it finishes" + << endl << " -x PID sets target() to PID" << endl ; // -d: dump safety-related external references @@ -203,7 +205,6 @@ main (int argc, char * const argv []) case 'b': s.bulk_mode = true; - s.macros.push_back (string ("STP_RELAYFS")); break; case 's': |