This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Problem in making kprobe modules portable.
- From: Srinivasa Ds <srinivasa at in dot ibm dot com>
- To: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Fri, 13 Apr 2007 19:30:53 +0530
- Subject: Problem in making kprobe modules portable.
I have ppc64 system with RHEL5 installed on it. Looks like data symbols
in kernel image is missing, I could see only text symbols.
====================
[root@llm27lp1 ~]# cat /proc/kallsyms | grep do_fork
c00000000006283c T .do_fork
==============================
But if data symbols were included, then it looks like this
================
llm27lp2:~ # cat /proc/kallsyms |grep do_fork
c00000000005de28 T .do_fork
c0000000005fbe88 D do_fork
======================
Due to this,one has to add "." before symbol name in kprobe module for
ppc64 and hence kprobe module has become unportable across the architecture.
Please let me know why data symbols have been removed from kernel image.
Thanks
Srinivasa DS