summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
authorhunt <hunt>2007-05-08 20:40:38 +0000
committerhunt <hunt>2007-05-08 20:40:38 +0000
commit639948b19fdd9eb93d7fe2554a6bfed003bdc478 (patch)
tree22cc45d1bbb33b5e2732d4688ddb56a822c1b532 /buildrun.cxx
parent83c5b5febc674ae0810e8dfde55af1d91a2b0b80 (diff)
downloadsystemtap-steved-639948b19fdd9eb93d7fe2554a6bfed003bdc478.tar.gz
systemtap-steved-639948b19fdd9eb93d7fe2554a6bfed003bdc478.tar.xz
systemtap-steved-639948b19fdd9eb93d7fe2554a6bfed003bdc478.zip
2007-05-08 Martin Hunt <hunt@redhat.com>
* buildrun.cxx (run_pass): Send proper verbosity level to staprun
Diffstat (limited to 'buildrun.cxx')
-rw-r--r--buildrun.cxx1
1 files changed, 1 insertions, 0 deletions
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 + " ");