From: fche@redhat.com (Frank Ch. Eigler)
To: Yibin Zhao <yibin.zhao@zoom.us>
Cc: systemtap@sourceware.org
Subject: Re: How to translate from user space symbol name to address?
Date: Fri, 18 Nov 2022 10:41:30 -0500 [thread overview]
Message-ID: <87y1s8jmmt.fsf@redhat.com> (raw)
In-Reply-To: <CAHBY8CD3CR_OupR2AXgUwisgeTs9q428hqxkYbR9QWRLc+EF4A@mail.gmail.com> (Yibin Zhao via Systemtap's message of "Wed, 9 Nov 2022 17:58:18 +0800")
Yibin Zhao via Systemtap <systemtap@sourceware.org> writes:
> I can get the ubacktrace and translate the addresses to symbols one by
> one, and try to find the relationship between the symbol and the
> address, but it's a bit tricky I think.
We don't have a runtime tapset function for that direction of mapping,
but a new one could be written, whether slowish/linear, or sorted/binary
like the address-to-symbol table.
- FChE
next prev parent reply other threads:[~2022-11-18 15:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-09 9:58 Yibin Zhao
2022-11-18 15:41 ` Frank Ch. Eigler [this message]
2022-11-21 6:44 ` Yibin Zhao
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=87y1s8jmmt.fsf@redhat.com \
--to=fche@redhat.com \
--cc=systemtap@sourceware.org \
--cc=yibin.zhao@zoom.us \
/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).