summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-08-21 16:00:27 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-08-21 16:00:27 -0400
commit36ef6d6a310d7a4a35a3c505d041e9fbd11125fa (patch)
tree46233e0e37d3407a05b9c4e5c3f60c6393171806 /util.h
parentb6921d5942950cb988318c36ee0e0792311f1ccc (diff)
downloadsystemtap-steved-36ef6d6a310d7a4a35a3c505d041e9fbd11125fa.tar.gz
systemtap-steved-36ef6d6a310d7a4a35a3c505d041e9fbd11125fa.tar.xz
systemtap-steved-36ef6d6a310d7a4a35a3c505d041e9fbd11125fa.zip
PR10544: clean up stap child process error handling
* util.cxx (stap_system): Take extra verbosity value. Standardize error handling / tracing. * util.h: Corresponding changes. * buildrun.cxx, main.cxx, modsign.cxx: Update callers.
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.h b/util.h
index 4921cef7..1577bb54 100644
--- a/util.h
+++ b/util.h
@@ -16,7 +16,7 @@ void tokenize(const std::string& str, std::vector<std::string>& tokens,
std::string find_executable(const std::string& name);
const std::string cmdstr_quoted(const std::string& cmd);
std::string git_revision(const std::string& path);
-int stap_system(const char *command);
+int stap_system(int verbose, const std::string& command);
int kill_stap_spawn(int sig);