How to translate from user space symbol name to address?

Yibin Zhao yibin.zhao@zoom.us
Mon Nov 21 06:44:16 GMT 2022


Understood. I'm not sure if this kind of usage is common.
Finally I translated those addresses to symbols and stripped them by a post
processing script, the performance is acceptable.

Thanks
Yibin
On Fri, Nov 18, 2022 at 11:41 PM Frank Ch. Eigler <fche@redhat.com> wrote:

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


More information about the Systemtap mailing list