From: "Stone, Joshua I" <joshua.i.stone@intel.com>
To: "Keshavamurthy, Anil S" <anil.s.keshavamurthy@intel.com>
Cc: "Systemtap" <systemtap@sources.redhat.com>
Subject: RE: Stap is translating to functions in __exit sections...and later module load fails
Date: Fri, 13 Oct 2006 21:26:00 -0000 [thread overview]
Message-ID: <C56DB814FAA30B418C75310AC4BB279DC4C78D@scsmsx413.amr.corp.intel.com> (raw)
On Friday, October 13, 2006 1:51 PM, Keshavamurthy, Anil S wrote:
> On Fri, Oct 13, 2006 at 02:02:39PM -0700, Stone, Joshua I wrote:
>> The translator blacklist tries to avoid such functions by checking
>> the section name -- anything within a section beginning with
>> '.exit.' (e.g., .exit.text) is blacklisted, and thus won't match a
>> function("*").
> Exactly, I expected that the translator blacklists' and does not
> elaborate such functions. But looks like this is not happening.
>
> See here....
> #stap -p2 -e 'probe kernel.function("*") {}' | sort | uniq |grep
> exit_pfm_fs
> kernel.function("exit_pfm_fs@arch/ia64/kernel/perfmon.c:1507"),
Yes, I believe you that the translator is producing a hit for
exit_pfm_fs. The question is *why*. Can you use objdump on your
vmlinux to find out what section that function is actually in?
$ objdump -t <...>/vmlinux | grep exit_pfm_fs
On x86 and x86_64, functions decorated with __exit end up in
'.exit.text'. If this isn't the case for IA64, then we'll need a
different mechanism for detecting such functions from the translator.
Josh
next reply other threads:[~2006-10-13 21:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-13 21:26 Stone, Joshua I [this message]
2006-10-13 21:56 ` Keshavamurthy Anil S
-- strict thread matches above, loose matches on Subject: below --
2006-10-18 1:06 Stone, Joshua I
2006-10-18 22:15 ` Keshavamurthy Anil S
2006-10-18 0:52 Keshavamurthy, Anil S
2006-10-13 22:28 Stone, Joshua I
2006-10-13 22:37 ` Keshavamurthy Anil S
2006-10-13 23:07 ` Eugeniy Meshcheryakov
2006-10-16 11:27 ` bibo,mao
2006-10-13 21:02 Stone, Joshua I
2006-10-13 21:10 ` Keshavamurthy Anil S
2006-10-13 21:29 ` Eugeniy Meshcheryakov
2006-10-13 20:26 Keshavamurthy, Anil S
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=C56DB814FAA30B418C75310AC4BB279DC4C78D@scsmsx413.amr.corp.intel.com \
--to=joshua.i.stone@intel.com \
--cc=anil.s.keshavamurthy@intel.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).