diff options
Diffstat (limited to 'buildrun.cxx')
-rw-r--r-- | buildrun.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/buildrun.cxx b/buildrun.cxx index 598d7110..ca3f862a 100644 --- a/buildrun.cxx +++ b/buildrun.cxx @@ -147,7 +147,7 @@ run_pass (systemtap_session& s) // for now, just spawn stpd string stpd_cmd = string("/usr/bin/sudo ") + string(PKGLIBDIR) + "/stpd " - + "-r " // disable relayfs + + (s.bulk_mode ? "" : "-r ") + (s.verbose ? "" : "-q "); if (s.cmd != "") @@ -156,6 +156,9 @@ run_pass (systemtap_session& s) if (s.target_pid) stpd_cmd += "-t " + stringify(s.target_pid) + " "; + if (s.buffer_size) + stpd_cmd += "-b " + stringify(s.buffer_size) + " "; + stpd_cmd += s.tmpdir + "/" + s.module_name + ".ko"; if (s.verbose) clog << "Running " << stpd_cmd << endl; |