]> sourceware.org Git - systemtap.git/commitdiff
Remove compile_byteman_rule artifacts
authorLukas Berk <lberk@redhat.com>
Sat, 27 Apr 2013 20:08:41 +0000 (16:08 -0400)
committerLukas Berk <lberk@redhat.com>
Wed, 1 May 2013 15:13:36 +0000 (11:13 -0400)
*session.cxx: remove artifacts
*session.h: same as above

session.cxx
session.h

index e6963d34700a6845f8f8e2e57406b44edae864e7..b88115cdaef0cf1775d63d48c297c4ccf06bcd81 100644 (file)
@@ -358,7 +358,6 @@ systemtap_session::systemtap_session (const systemtap_session& other,
   kbuildflags = other.kbuildflags;
 
 #ifdef HAVE_JAVA_HELPER
-  compile_byteman_rule = other.compile_byteman_rule;
   bminstallflags = other.bminstallflags;
 #endif /* HAVE_JAVA_HELPER */
 
@@ -545,7 +544,7 @@ systemtap_session::usage (int exitcode)
     "   -q         generate information on tapset coverage\n"
 #endif /* HAVE_LIBSQLITE3 */
 #ifdef HAVE_JAVA_HELPER
-    "   -J         request byteman pass such options to the JVM during bminstall\n"
+    "   -J         request byteman pass such options to the JVM during bminstall.\n"
 #endif /* HAVE_JAVA_HELPER */
     "   --runtime=MODE\n"
     "              set the pass-5 runtime mode, instead of kernel\n"
@@ -898,11 +897,13 @@ systemtap_session::parse_cmdline (int argc, char * const argv [])
           kbuildflags.push_back (string (optarg));
          break;
 
-       case 'J':
 #ifdef HAVE_JAVA_HELPER
+       case 'J':
+         cout << "this was hit" << endl;
          bminstallflags.push_back(string("-D") + (string (optarg)) );
          break;
 #else
+       case 'J':
          cerr << _("You may only specify -J options when configured with --with-jdk") << endl;
          return 1;
 #endif /* HAVE_JAVA_HELPER */
index 40b176a0a361acd6cedf2e8d2a636459332d3cd4..cfc0b0a09214a224ce53bec35f4e6d4da6f39cef 100644 (file)
--- a/session.h
+++ b/session.h
@@ -201,7 +201,6 @@ public:
   bool suppress_handler_errors;
   bool suppress_time_limits;
 #ifdef HAVE_JAVA_HELPER
-  bool compile_byteman_rule;
   std::vector<std::string> bminstallflags; // -J var=val
 #endif
 
This page took 0.03514 seconds and 5 git commands to generate.