107122a4e8
- Separate the "stap-prep" phase out to a separate phase - Add tests/Sanity/byteman-java-methods-probing - Add tests/Sanity/kernel-modules - Add tests/Sanity/userspace-probes - Add tests/Sanity/stap-server-basic-sanity - Add tests/Regression/small-tests
21 lines
371 B
C
21 lines
371 B
C
#include <linux/module.h> /* Needed by all modules */
|
|
#include <linux/kernel.h> /* Needed for KERN_INFO */
|
|
|
|
int init_module(void)
|
|
{
|
|
printk(KERN_INFO "Hello world 1.\n");
|
|
return 0;
|
|
}
|
|
|
|
int some_method(void){
|
|
printk(KERN_INFO "Some method called\n");
|
|
return 0;
|
|
}
|
|
|
|
void cleanup_module(void)
|
|
{
|
|
printk(KERN_INFO "Goodbye world 1.\n");
|
|
}
|
|
|
|
MODULE_LICENSE("GPL");
|