From: "mjw at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sources.redhat.com
Subject: [Bug runtime/10512] STAP_PROBES don't work in c++ constructors/destructors
Date: Fri, 14 Aug 2009 10:07:00 -0000 [thread overview]
Message-ID: <20090814100650.5140.qmail@sourceware.org> (raw)
In-Reply-To: <20090812145803.10512.mjw@redhat.com>
------- Additional Comments From mjw at redhat dot com 2009-08-14 10:06 -------
(In reply to comment #3)
> (In reply to comment #2)
> > As can be seen from the alternatives suggested only the variables of the
> > function into which the probe was inlined are visible.
>
> This is because they aren't available as dwarf locations.
But the are...
$ ./loc2c-test -e ./test.orig 0x40063f
cxxclass.cxx (0x11): 0x400620 (/home/mark/src/test/cxxclass.cxx:54) .. 0x4007db
(/home/mark/src/test/cxxclass.cxx:28)
stdin [ 8ac] _IO_FILE*
stdout [ 8b9] _IO_FILE*
ProbeClass (0x1d): 0x400625 (/home/mark/src/test/cxxclass.cxx:14) ..
0x400656 (/home/mark/src/test/cxxclass.cxx:20)
n [ 6c5] char const*
v [ 6ca] <unknown 0x10> const
this [ 6cf] ProbeClass* const
<unnamed> (0xb): 0x400625 (/home/mark/src/test/cxxclass.cxx:14) ..
0x400640 (/home/mark/src/test/cxxclass.cxx:15)
arg1 [ 6e5] char const* volatile
arg2 [ 6ed] int volatile
But loc2c also has trouble retrieving them:
$ ./loc2c-test -e ./test.orig 0x40063b arg1
loc2c-test: required DW_AT_frame_base attribute not supplied
$ ./loc2c-test -e ./test.orig 0x40063b arg2
loc2c-test: required DW_AT_frame_base attribute not supplied
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10512
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
next prev parent reply other threads:[~2009-08-14 10:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-12 14:58 [Bug runtime/10512] New: " mjw at redhat dot com
2009-08-12 15:00 ` [Bug runtime/10512] " mjw at redhat dot com
2009-08-12 18:29 ` jistone at redhat dot com
2009-08-14 9:05 ` mjw at redhat dot com
2009-08-14 9:40 ` mjw at redhat dot com
2009-08-14 10:07 ` mjw at redhat dot com [this message]
2009-08-17 10:26 ` mjw at redhat dot com
2009-08-17 12:09 ` mjw at redhat dot com
2009-08-17 14:03 ` mjw at redhat dot com
2009-08-17 22:25 ` mjw at redhat dot com
2009-08-18 10:54 ` mjw at redhat dot com
2009-08-18 10:55 ` mjw at redhat dot com
2009-08-18 21:41 ` 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=20090814100650.5140.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).