mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
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:
committed by
Søren Sandmann Pedersen
parent
135ce0e2ea
commit
68827a7fbc
@ -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>
|
Sun Jan 15 00:24:02 2006 Soeren Sandmann <sandmann@redhat.com>
|
||||||
|
|
||||||
* TODO: Updates
|
* TODO: Updates
|
||||||
|
|||||||
@ -36,6 +36,7 @@
|
|||||||
#include <linux/pagemap.h>
|
#include <linux/pagemap.h>
|
||||||
#include <linux/profile.h>
|
#include <linux/profile.h>
|
||||||
|
|
||||||
|
#include "../config.h"
|
||||||
#include "sysprof-module.h"
|
#include "sysprof-module.h"
|
||||||
|
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
@ -249,7 +250,7 @@ init_module(void)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
printk(KERN_ALERT "sysprof: loaded\n");
|
printk(KERN_ALERT "sysprof: loaded (%s)\n", PACKAGE_VERSION);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user