Re: [PATCH] Move kprobes examples to samples/ (resend)

From: Andrew Morton
Date: Tue Nov 13 2007 - 07:04:32 EST


On Sun, 21 Oct 2007 18:09:19 +0530 Ananth N Mavinakayanahalli <ananth@xxxxxxxxxx> wrote:

> Move kprobes examples from Documentation/kprobes.txt to under samples/.
> Patch originally by Randy Dunlap.
>
> In addition, I have
>
> o Updated the patch to apply on 2.6.23-mm1
> o Modified examples code to build on multiple architectures. Currently,
> the examples code works for x86_64, x86_32 and powerpc
> o Cleaned up unneeded #includes

Could you please take a look at what's needed to get this working on sparc64?

samples/kprobes/kretprobe_example.c: In function `ret_handler':
samples/kprobes/kretprobe_example.c:19: error: implicit declaration of function `regs_return_value'

Thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/