HeapTrack Query - Stripped Binary

Milian Wolff mail at milianw.de
Thu Jun 15 08:20:33 BST 2023


On Mittwoch, 14. Juni 2023 22:49:18 CEST sindhu krishnan wrote:
> Thank you For the inputs!
> 
> I'm using heaptrack version 1.2.0 and libunwind 1.3.1. I will try with
> libunwind version 1.6.2.
> 
> Is there any way to provide debug symbols separately when using a stripped
> binary?

Yes, with `heaptrack --record-only` followed by a manual invocation of 
`heaptrack_interpret` (see heaptrack bash file for examples). Note that we 
don't yet have good support to add custom sysroot or library search paths 
though - patches welcome.

<snip>

> How do I execute heaptrack for a running process? Do I only need to attach
> the process to heaptrack, or can I modify the service file to start the
> process directly with heaptrack?

That's up to you, pick whatever you want/need.

Cheers
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/heaptrack/attachments/20230615/4c3ce0d6/attachment.sig>


More information about the Heaptrack mailing list