summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--buildrun.cxx1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3a2f7171..9bf85dc6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-05-08 Martin Hunt <hunt@redhat.com>
+
+ * buildrun.cxx (run_pass): Send proper verbosity
+ level to staprun
+
2007-05-06 Frank Ch. Eigler <fche@elastic.org>
PR 1305.
diff --git a/buildrun.cxx b/buildrun.cxx
index e8bd5855..facfbb67 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -123,6 +123,7 @@ run_pass (systemtap_session& s)
string staprun_cmd = string("sudo ")
+ string(BINDIR) + "/staprun "
+ (s.verbose>1 ? "-v " : "")
+ + (s.verbose>2 ? "-v " : "")
+ "-u " + username + " "
+ (s.output_file.empty() ? "" : "-o " + s.output_file + " ");