public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "wcohen at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug translator/27984] stap skipping partially-inlined instance, but it is not inline function actually
Date: Thu, 15 Jul 2021 16:22:08 +0000	[thread overview]
Message-ID: <bug-27984-6586-f3133FGffP@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-27984-6586@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=27984

--- Comment #7 from William Cohen <wcohen at redhat dot com> ---
There is a test of the partial-inline checks in systemtap.  Ran it with on
systemtap with the additional diagnostic prints:

sudo make installcheck  RUNTESTFLAGS="--debug
systemtap.base/partial-inline.exp"

The test passes.  Looking at probing the executable partial-inline.exp with:

~/research/profiling/systemtap_write/install/bin//stap  -vvv -L 
'process("./partial-inline.exe").function("*").call' >&
more_detailed_partial-inline.log

can see that the expected names are found:

selected function foo
foo.part.0 = dwfl_module_addrinfo(0x401170)
skipping partially-inlined instance foo.part.0 at 0x401170
selected function main
main = dwfl_module_addrinfo(0x401050)

Extracted from nm:

0000000000401050 T main
0000000000401170 t foo.part.0

Suspect the problem in this PR is due to the code being probed in a library.

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

  parent reply	other threads:[~2021-07-15 16:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-16  2:26 [Bug translator/27984] New: " zhuizhuhaomeng at gmail dot com
2021-07-14 19:48 ` [Bug translator/27984] " wcohen at redhat dot com
2021-07-14 20:37 ` wcohen at redhat dot com
2021-07-15  0:39 ` lijunlong at openresty dot com
2021-07-15  1:37 ` lijunlong at openresty dot com
2021-07-15 14:34 ` wcohen at redhat dot com
2021-07-15 15:28 ` wcohen at redhat dot com
2021-07-15 16:22 ` wcohen at redhat dot com [this message]
2021-07-16 14:49 ` wcohen at redhat dot com
2021-07-16 18:39 ` wcohen at redhat dot com
2021-07-16 19:07 ` mark at klomp dot org
2021-07-17  0:25 ` lijunlong at openresty dot com
2021-07-17 22:05 ` wcohen 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=bug-27984-6586-f3133FGffP@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sourceware.org \
    /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).