From 68827a7fbc3652ab20771d0ad5b0f77de29c0f08 Mon Sep 17 00:00:00 2001 From: Soeren Sandmann Date: Mon, 16 Jan 2006 01:22:27 +0000 Subject: [PATCH] Print out sysprof version at module load time. Sun Jan 15 20:22:20 2006 Soeren Sandmann * module/sysprof-module.c (init_module): Print out sysprof version at module load time. --- ChangeLog | 5 +++++ module/sysprof-module.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4081f287..678f59fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Jan 15 20:22:20 2006 Soeren Sandmann + + * module/sysprof-module.c (init_module): Print out sysprof version + at module load time. + Sun Jan 15 00:24:02 2006 Soeren Sandmann * TODO: Updates diff --git a/module/sysprof-module.c b/module/sysprof-module.c index eb4a4b40..e0dff7fe 100644 --- a/module/sysprof-module.c +++ b/module/sysprof-module.c @@ -36,6 +36,7 @@ #include #include +#include "../config.h" #include "sysprof-module.h" #include @@ -249,7 +250,7 @@ init_module(void) return ret; } - printk(KERN_ALERT "sysprof: loaded\n"); + printk(KERN_ALERT "sysprof: loaded (%s)\n", PACKAGE_VERSION); return 0; }