This is the mail archive of the
systemtap@sources.redhat.com
mailing list for the systemtap project.
Re: register_kprobe undefined symbol on 2.6.11 of X86_64
Jim,
Thanks. When I am trying to use the kallsyms_lookup_name, why I was
prompted such function is undefined? In fact, I find it from the
System.map.
Thanks,
Neo
On Wed, 2005-07-06 at 15:10 -0700, Jim Keniston wrote:
> On Wed, 2005-07-06 at 14:23, Neo Jia wrote:
> > Jim,
> ...
> > Currently, I am monitoring the do_fork function. Is it too sensitive to
> > be monitored?
>
> No, I've probed do_fork(). It should work fine.
>
> > When I get rid of the function address of the kp,
> > everything is OK.
>
> As Martin said, it's best not to use a hard-coded hex address.
> Something like kallsyms_lookup_name("do_fork") would be better.
>
> >
> > BTW, how can I remove that module? rmmod cannot work?
>
> 1. Try the -f (--force) option of rmmod...
> 2. or reboot...
> 3. or rename the module's .c file, rebuild, and try again. :-)
>
> >
> > Thanks,
> > Neo
>
> Jim
--
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!