]> sourceware.org Git - systemtap.git/commitdiff
Include --runtime=dyninst in error message for unprivileged user
authorLukas Berk <lberk@redhat.com>
Wed, 7 Nov 2012 18:38:24 +0000 (13:38 -0500)
committerLukas Berk <lberk@redhat.com>
Wed, 7 Nov 2012 18:38:24 +0000 (13:38 -0500)
* session.cxx : mention that --runtime=dyninst may be used in the case
 of an unprivileged user, when trying to probe userspace

session.cxx

index 410ef13b66df23e031ff4d6a22ab02e3bcbb635b..68d51244c6bad4c6d546b46a94d263483e80b462 100644 (file)
@@ -1387,6 +1387,9 @@ systemtap_session::check_options (int argc, char * const argv [])
              cerr << _("You are trying to run systemtap as a normal user.\n"
                        "You should either be root, or be part of "
                        "the group \"stapusr\" and possibly one of the groups \"stapsys\" or \"stapdev\".\n");
+#if HAVE_DYNINST
+             cerr << _("Alternatively, you may specify --runtime=dyninst for userspace probing.\n");
+#endif
              usage (1); // does not return.
            }
        }
This page took 0.033452 seconds and 5 git commands to generate.