summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
authorNobuhiro Tachino <tachino@jp.fujitsu.com>2008-09-16 22:04:02 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-09-16 22:04:02 -0400
commit2fa2a091a0b248855d7f77aa20677ef4c7a7cc61 (patch)
treeeb71f6845b138fc645eb35f0a44ad772aecca68a /buildrun.cxx
parent9ea1880a389150702defb7517237216d3c926038 (diff)
downloadsystemtap-steved-2fa2a091a0b248855d7f77aa20677ef4c7a7cc61.tar.gz
systemtap-steved-2fa2a091a0b248855d7f77aa20677ef4c7a7cc61.tar.xz
systemtap-steved-2fa2a091a0b248855d7f77aa20677ef4c7a7cc61.zip
add new stap -F (flight recorder) option that just passes through to staprun -L
Diffstat (limited to 'buildrun.cxx')
-rw-r--r--buildrun.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildrun.cxx b/buildrun.cxx
index ada00027..8ec731df 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -287,6 +287,9 @@ run_pass (systemtap_session& s)
if (s.need_uprobes)
staprun_cmd += "-u ";
+ if (s.load_only)
+ staprun_cmd += "-L ";
+
staprun_cmd += s.tmpdir + "/" + s.module_name + ".ko";
if (s.verbose>1) clog << "Running " << staprun_cmd << endl;