linux/samples/kprobes
Huang Shijie d04659ac94 samples/kprobes: add a new module parameter
Add a new module parameter which can be used as the symbol name.

Without this patch, we can only test the "_do_fork" function with this
kernel module.  With this patch, the module becomes more flexible; we
can test any functions with this module with

	# insmod kprobe_example.ko symbol="xxx"

Link: http://lkml.kernel.org/r/1463535417-29637-1-git-send-email-shijie.huang@arm.com
Signed-off-by: Huang Shijie <shijie.huang@arm.com>
Cc: Petr Mladek <pmladek@suse.com>
Cc: Steve Capper <steve.capper@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-05-20 17:58:30 -07:00
..
jprobe_example.c kprobes: add the "tls" argument for j_do_fork 2016-05-20 17:58:30 -07:00
kprobe_example.c samples/kprobes: add a new module parameter 2016-05-20 17:58:30 -07:00
kretprobe_example.c kprobes: use _do_fork() in samples to make them work again 2015-10-01 21:42:35 -04:00
Makefile