From: Ananth N Mavinakayanahalli Now that the proposed return_value() got changed to regs_return_value(), the kprobes.txt needs to be updated so the example modules build off-the-box. Documentation/kprobes.txt updated to reflect: o In-kernel symbol resolution o CONFIG_KALLSYMS dependency o Usage of JPROBE_ENTRY o Addition of regs_return_value() Also update the usage examples to use correct module interfaces. Signed-off-by: Ananth N Mavinakayanahalli Acked-by: Jim Keniston Signed-off-by: Andrew Morton --- Documentation/kprobes.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN Documentation/kprobes.txt~update-documentation-kprobestxt-update Documentation/kprobes.txt --- a/Documentation/kprobes.txt~update-documentation-kprobestxt-update +++ a/Documentation/kprobes.txt @@ -279,9 +279,9 @@ of interest: - rp: points to the corresponding kretprobe object - task: points to the corresponding task struct -The regs_return_value(regs) macro provides a simple abstraction to extract -the return value from the appropriate register as defined by the -architecture's ABI. +The regs_return_value(regs) macro provides a simple abstraction to +extract the return value from the appropriate register as defined by +the architecture's ABI. The handler's return value is currently ignored. _