reg: kprobe method

2007-05-31 Thread Tej Parkash
hi all there is some problem in adding simple printk using kprobe method i m posting the my code anybody can suggest how to make it work #include #include #include #include #include #include MODULE_AUTHOR("TEJ"); MODULE_LICENSE("GPL"); //MODULE_PARM(int,val,I_IRUGO); struct kprobe kp; static

reg: kprobe method

2007-05-31 Thread Tej Parkash
hi all there is some problem in adding simple printk using kprobe method i m posting the my code anybody can suggest how to make it work #includelinux/kernel.h #includelinux/version.h #includelinux/module.h #includelinux/init.h #includelinux/kprobes.h #includelinux/kallsyms.h