diff options
author | Roland McGrath <roland@redhat.com> | 2009-04-01 18:12:10 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2009-04-01 18:12:10 -0700 |
commit | 976c562d2da11592305260c6ed06d098b81dd491 (patch) | |
tree | 6180b861705834af410e414fca01215df9fba382 /buildrun.cxx | |
parent | 3c960a7cfa61cbde19c0ad88045c8c1f6405ed87 (diff) | |
parent | 83ff01c2f669c66100a5cf7531dda9410a8ff6ce (diff) | |
download | systemtap-steved-976c562d2da11592305260c6ed06d098b81dd491.tar.gz systemtap-steved-976c562d2da11592305260c6ed06d098b81dd491.tar.xz systemtap-steved-976c562d2da11592305260c6ed06d098b81dd491.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'buildrun.cxx')
-rw-r--r-- | buildrun.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/buildrun.cxx b/buildrun.cxx index 97357692..71a34c96 100644 --- a/buildrun.cxx +++ b/buildrun.cxx @@ -56,7 +56,7 @@ run_make_cmd(systemtap_session& s, string& make_cmd) make_cmd += " -s >/dev/null 2>&1"; if (s.verbose > 1) clog << "Running " << make_cmd << endl; - rc = system (make_cmd.c_str()); + rc = stap_system (make_cmd.c_str()); return rc; } @@ -223,7 +223,7 @@ kernel_built_uprobes (systemtap_session& s) { string grep_cmd = string ("/bin/grep -q unregister_uprobe ") + s.kernel_build_tree + string ("/Module.symvers"); - int rc = system (grep_cmd.c_str()); + int rc = stap_system (grep_cmd.c_str()); return (rc == 0); } @@ -274,7 +274,7 @@ copy_uprobes_symbols (systemtap_session& s) string uprobes_home = s.runtime_path + "/uprobes"; string cp_cmd = string("/bin/cp ") + uprobes_home + string("/Module.symvers ") + s.tmpdir; - int rc = system (cp_cmd.c_str()); + int rc = stap_system (cp_cmd.c_str()); return rc; } @@ -339,7 +339,7 @@ run_pass (systemtap_session& s) if (s.verbose>1) clog << "Running " << staprun_cmd << endl; - rc = system (staprun_cmd.c_str ()); + rc = stap_system (staprun_cmd.c_str ()); return rc; } |