05 Mar, 2008
1 commit
-
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=' to determine
execution time of func_name in nanoseconds.Signed-off-by: Randy Dunlap
Signed-off-by: Ananth N Mavinakayanahalli
Acked-by: Mathieu Desnoyers
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
25 Jan, 2008
1 commit
-
This is a simple kobject module, showing how to use kobj_attributes in
basic and more complex ways.Cc: Kay Sievers
Signed-off-by: Greg Kroah-Hartman
20 Oct, 2007
1 commit
-
Module example showing how to use the Linux Kernel Markers.
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Mathieu Desnoyers
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds