summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorfche <fche>2006-12-16 22:24:13 +0000
committerfche <fche>2006-12-16 22:24:13 +0000
commit72d18b983428ccbf45d74631e017874d91935155 (patch)
treee729f15b7ad7181fdc3472c0608bed51428ceb8e /main.cxx
parent16d5fd9f49ace9af5e030641a4c324ae72002cd6 (diff)
downloadsystemtap-steved-72d18b983428ccbf45d74631e017874d91935155.tar.gz
systemtap-steved-72d18b983428ccbf45d74631e017874d91935155.tar.xz
systemtap-steved-72d18b983428ccbf45d74631e017874d91935155.zip
2006-12-16 Frank Ch. Eigler <fche@elastic.org>
* main.cxx (main): Print version strings if verbose >=2 . * tapsets.cxx (common_probe_entryfn_prologue): Decorate an emitted local with __restrict__.
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.cxx b/main.cxx
index fe7e4e9e..3953fd15 100644
--- a/main.cxx
+++ b/main.cxx
@@ -418,8 +418,9 @@ main (int argc, char * const argv [])
s.kernel_base_release.assign(s.kernel_release, 0, s.kernel_release.find('-'));
-
// arguments parsed; get down to business
+ if (s.verbose > 1)
+ version ();
// Create a temporary directory to build within.
// Be careful with this, as "s.tmpdir" is "rm -rf"'d at the end.