Revision 804defea1c020d5c52985685e56986f1a399acde authored by Ananth N Mavinakayanahalli on 04 March 2008, 22:28:38 UTC, committed by Linus Torvalds on 05 March 2008, 00:35:11 UTC
Move kprobes examples from Documentation/kprobes.txt to under samples/.
Patch originally by Randy Dunlap.

o Updated the patch to apply on 2.6.25-rc3
o Modified examples code to build on multiple architectures. Currently,
  the kprobe and jprobe examples code works for x86 and powerpc
o Cleaned up unneeded #includes
o Cleaned up Kconfig per Sam Ravnborg's suggestions to fix build break
  on archs that don't have kretprobes
o Implemented suggestions by Mathieu Desnoyers on CONFIG_KRETPROBES
o Included Andrew Morton's cleanup based on x86-git
o Modified kretprobe_example to act as a arch-agnostic module to
  determine routine execution times:
	Use 'modprobe kretprobe_example func=<func_name>' to determine
	execution time of func_name in nanoseconds.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 9edddaa
History
File Mode Size
keys
selinux
smack
Kconfig -rw-r--r-- 4.3 KB
Makefile -rw-r--r-- 660 bytes
capability.c -rw-r--r-- 2.3 KB
commoncap.c -rw-r--r-- 15.6 KB
dummy.c -rw-r--r-- 26.6 KB
inode.c -rw-r--r-- 9.0 KB
root_plug.c -rw-r--r-- 3.0 KB
security.c -rw-r--r-- 27.4 KB

back to top