From c4a94c1a262c8d2847d681eb60ad9a6c2e692fa7 Mon Sep 17 00:00:00 2001 From: fche Date: Thu, 14 Jun 2007 21:38:24 +0000 Subject: 2007-06-14 Frank Ch. Eigler * translate.cxx (emit_module_init): Emit translator/elfutils version numbers together. * main.cxx (version): Ditto. (main): Skip printing tapset directories where no sources were found. --- translate.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'translate.cxx') diff --git a/translate.cxx b/translate.cxx index b5fef890..e799c42a 100644 --- a/translate.cxx +++ b/translate.cxx @@ -22,6 +22,10 @@ #include #include +extern "C" { +#include +} + using namespace std; struct var; @@ -1162,7 +1166,7 @@ c_unparser::emit_module_init () // Print a message to the kernel log about this module. This is // intended to help debug problems with systemtap modules. o->newline() << "printk (KERN_DEBUG \"%s: " - << "systemtap: " << VERSION + << "systemtap: " << VERSION << "/" << dwfl_version (NULL) << ", base: %p" << ", memory: %lu+%lu+%lu+%lu+%lu data+text+ctx+io+glob" << ", probes: " << session->probes.size() -- cgit