public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "wenji dot huang at oracle dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sources.redhat.com
Subject: [Bug translator/10622] unsuccessful location searches for extern $variables
Date: Thu, 12 Nov 2009 06:39:00 -0000	[thread overview]
Message-ID: <20091112063905.470.qmail@sourceware.org> (raw)
In-Reply-To: <20090909213751.10622.fche@redhat.com>


------- Additional Comments From wenji dot huang at oracle dot com  2009-11-12 06:39 -------
Guess it's related to gcc or fedora debuginfo.

On RHEL5 with self-built 2.6.32-rc6 kernel.
The latest stap works fine both with elfutils 0.141 and 0.142.

$ stap -e 'probe kernel.function("do_gettimeofday") { println($xtime) }'
semantic error: 'struct timespec' is being accessed instead of a member:
identifier '$xtime' at <input>:1:52
        source: probe kernel.function("do_gettimeofday") { println($xtime) }
                                                                   ^
Pass 2: analysis failed.  Try again with another '--vp 01' option.

Got different message, but seems stap can get location attribute.

$ stap -e 'probe kernel.function("do_gettimeofday") {
printf("xtime.tv_sec:%d\n", $xtime->tv_sec); exit() }'
xtime.tv_sec:1257921482

But failed on FC11, gcc 4.4. The error message like previous comment,
also as comment #11 of bug # 9738.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10622

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

  parent reply	other threads:[~2009-11-12  6:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-09 21:38 [Bug translator/10622] New: " fche at redhat dot com
2009-09-09 21:50 ` [Bug translator/10622] " mjw at redhat dot com
2009-11-12  6:39 ` wenji dot huang at oracle dot com [this message]
2009-11-16  9:52 ` mjw at redhat dot com

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=20091112063905.470.qmail@sourceware.org \
    --to=sourceware-bugzilla@sourceware.org \
    --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).