register_kprobe undefined symbol on 2.6.11 of X86_64

Martin Hunt hunt@redhat.com
Wed Jul 6 21:55:00 GMT 2005


On Wed, 2005-07-06 at 16:30 -0500, Neo Jia wrote:
> Jim,
> 
> BTW, I found a definition in the original kernel 2.6.11 confused me a
> little. Could you help me to figure it out?
> 
> in file include/asm-x86_64/kprobes.h
> typedef u8 kprobe_opcode_t;
> 
> in file include/asm-sparc64/kprobes.h
> typedef u32 kprobe_opcode_t;

This is an internal implementation detail that does not affect your
module.

Your module works fine for me, after adding the MODULE_LICENSE line
and putting in the address of do_fork for my kernel.
I see you have hard-coded an address for the probe.  That is the most
likely cause of crashing.  Have you checked that it is still correct?

Martin




More information about the Systemtap mailing list