public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* How to translate from user space symbol name to address?
@ 2022-11-09  9:58 Yibin Zhao
  2022-11-18 15:41 ` Frank Ch. Eigler
  0 siblings, 1 reply; 3+ messages in thread
From: Yibin Zhao @ 2022-11-09  9:58 UTC (permalink / raw)
  To: systemtap

[-- Attachment #1: Type: text/plain, Size: 591 bytes --]

Hi,


usymname can be used to translate address to symbol name, but I can't find
an easy way to translate symbol name to address.

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.


In systemtap source code, tapset.cxx do get address for probed symbols, is
it possible to get symbol address during runtime?


The reason why I want to translate a symbol to an address is , I want to
strip part of the stack for readability.

Any clue is appreciated


Thanks

Yibin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-21  6:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-09  9:58 How to translate from user space symbol name to address? Yibin Zhao
2022-11-18 15:41 ` Frank Ch. Eigler
2022-11-21  6:44   ` Yibin Zhao

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).