public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Problem in making kprobe modules portable.
@ 2007-04-13 14:01 Srinivasa Ds
  0 siblings, 0 replies; only message in thread
From: Srinivasa Ds @ 2007-04-13 14:01 UTC (permalink / raw)
  To: SystemTAP

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-13 14:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-13 14:01 Problem in making kprobe modules portable Srinivasa Ds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).