[RFC -mm][PATCH 5/6] prepare kprobes code for x86 unification

Masami Hiramatsu mhiramat@redhat.com
Wed Dec 12 21:20:00 GMT 2007


Hi,

Masami Hiramatsu wrote:
>> This time it was probing "__init migration_init" function in kernel/sched.c,I saw systemtap code 
>> blacklisting all .init and .exit functions but still it failed.
>> I replaced all __init function in kernel/sched.c to __kprobes then 
>> executed the tests successfully.
>>
>> So may be problem is in naming the section of vmlinux properly.
> 
> I think it will cause without my patchset if your presumption is right.
> Could you check that?

Finally, I reproduced it by executing a command below:
% stap -e 'probe kernel.function("migration_init"){}'

And also, I found that oops occurred without my patch,
and even more, it occurred with 2.6.24-rc4 on x86-64,
but did not occurred with 2.6.23.8-34.fc7.

We might find an unknown bug.

Thanks,

-- 
Masami Hiramatsu

Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division

e-mail: mhiramat@redhat.com, masami.hiramatsu.pt@hitachi.com



More information about the Systemtap mailing list