public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Srinivasa Ds <srinivasa@in.ibm.com>
To: SystemTAP <systemtap@sources.redhat.com>
Subject: Problem in making kprobe modules portable.
Date: Fri, 13 Apr 2007 14:01:00 -0000	[thread overview]
Message-ID: <461F8D15.3060401@in.ibm.com> (raw)

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

                 reply	other threads:[~2007-04-13 14:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=461F8D15.3060401@in.ibm.com \
    --to=srinivasa@in.ibm.com \
    --cc=systemtap@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).