summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-07-01 10:51:57 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-07-01 10:51:57 -0400
commitc0e526f077ee8cf6b1d62e02822b722d946d2648 (patch)
tree98c865b1118827682bf54702fbeca8f3bfa55ada
parenteb0ecdf035e690245c88de71b9f1bd7507856069 (diff)
downloadsystemtap-steved-c0e526f077ee8cf6b1d62e02822b722d946d2648.tar.gz
systemtap-steved-c0e526f077ee8cf6b1d62e02822b722d946d2648.tar.xz
systemtap-steved-c0e526f077ee8cf6b1d62e02822b722d946d2648.zip
diagnostics improvement: print arch/mach at top if -vv
-rw-r--r--ChangeLog5
-rw-r--r--main.cxx7
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d67746d3..7c34f223 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-01 Frank Ch. Eigler <fche@elastic.org>
+
+ * main.cxx (main): In -vv mode, also dump out session arch/release
+ values right at the top.
+
2008-06-29 Tim Moore <timoore@redhat.com>
* Makefile.am (EXTRA_DIST): Add auto_free.h.
diff --git a/main.cxx b/main.cxx
index 58d7fa9f..eea2c7e7 100644
--- a/main.cxx
+++ b/main.cxx
@@ -698,7 +698,12 @@ main (int argc, char * const argv [])
// arguments parsed; get down to business
if (s.verbose > 1)
- version ();
+ {
+ version ();
+ clog << "Session arch: " << s.architecture
+ << " release: " << s.kernel_release
+ << endl;
+ }
// Create a temporary directory to build within.
// Be careful with this, as "s.tmpdir" is "rm -rf"'d at the end.