summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorfche <fche>2006-02-22 15:05:50 +0000
committerfche <fche>2006-02-22 15:05:50 +0000
commit03d569d3e8ee6f405b8e8489eaaf325c774b822d (patch)
tree91dea097c656f0208c3bc481cc57a2cd97092880 /main.cxx
parent7934b76a4ce7cdcdd9de054db154e3da9dab7047 (diff)
downloadsystemtap-steved-03d569d3e8ee6f405b8e8489eaaf325c774b822d.tar.gz
systemtap-steved-03d569d3e8ee6f405b8e8489eaaf325c774b822d.tar.xz
systemtap-steved-03d569d3e8ee6f405b8e8489eaaf325c774b822d.zip
2006-02-22 Frank Ch. Eigler <fche@elastic.org>
PR 2293. * tapsets.cxx (emit_probe_epilogue): Emit early local_irq_save(). (emit_probe_epilogue): ... and matching _restore(). * main.cxx (main): Emit a "hello, I'm starting" message before pass 5 in verbose mode.
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.cxx b/main.cxx
index 7a32a778..127e667d 100644
--- a/main.cxx
+++ b/main.cxx
@@ -545,6 +545,10 @@ main (int argc, char * const argv [])
// PASS 5: RUN
times (& tms_before);
gettimeofday (&tv_before, NULL);
+ // NB: this message is a judgement call. The other passes don't emit
+ // a "hello, I'm starting" message, but then the others aren't interactive
+ // and don't take an indefinite amount of time.
+ if (s.verbose) clog << "Pass 5: starting run." << endl;
rc = run_pass (s);
times (& tms_after);
gettimeofday (&tv_after, NULL);