From 483cf56e20be008b0a3a332b70796e8340926d4d Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Sat, 14 May 2011 11:26:17 -0400 Subject: [PATCH] PR12729: make childprocess spawning/waitpid both -vv verbose With recent code, -vv was enough to get a "Running ...." message for child processes of the translator, but not their "Spawn waitpid ..." return codes. That required -vvv. Make them consistent. * util.cxx (stap_waitpid): Report at verbosity > 1. --- util.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.cxx b/util.cxx index 8a4c86e57..95494438d 100644 --- a/util.cxx +++ b/util.cxx @@ -454,7 +454,7 @@ stap_waitpid(int verbose, pid_t pid) { spawned_pids.erase(pid); ret = WIFEXITED(status) ? WEXITSTATUS(status) : 128 + WTERMSIG(status); - if (verbose > 2) + if (verbose > 1) clog << _F("Spawn waitpid result (0x%x): %d", status, ret) << endl; } else -- 2.43.5