Print out sysprof version at module load time.

Sun Jan 15 20:22:20 2006  Soeren Sandmann  <sandmann@redhat.com>

	* module/sysprof-module.c (init_module): Print out sysprof version
	at module load time.
This commit is contained in:
Soeren Sandmann
2006-01-16 01:22:27 +00:00
committed by Søren Sandmann Pedersen
parent 135ce0e2ea
commit 68827a7fbc
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sun Jan 15 20:22:20 2006 Soeren Sandmann <sandmann@redhat.com>
* module/sysprof-module.c (init_module): Print out sysprof version
at module load time.
Sun Jan 15 00:24:02 2006 Soeren Sandmann <sandmann@redhat.com>
* TODO: Updates

View File

@ -36,6 +36,7 @@
#include <linux/pagemap.h>
#include <linux/profile.h>
#include "../config.h"
#include "sysprof-module.h"
#include <linux/version.h>
@ -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;
}