From 16d8de1b4b18b1655ef17d1ef0c0ea8e96d2aea2 Mon Sep 17 00:00:00 2001 From: trz Date: Wed, 5 Oct 2005 20:19:50 +0000 Subject: stap command-line option additions: -b (bulk mode), -s (buffer size) --- buildrun.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'buildrun.cxx') 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; -- cgit