Files
neon/libs/utils/src
Erik Grinaker a55853f67f utils: symbolize heap profiles (#10153)
## Problem

Jemalloc heap profiles aren't symbolized. This is inconvenient, and
doesn't work with Grafana Cloud Profiles.

Resolves #9964.

## Summary of changes

Symbolize the heap profiles in-process, and strip unnecessary cruft.

This uses about 100 MB additional memory to cache the DWARF information,
but I believe this is already the case with CPU profiles, which use the
same library for symbolization. With cached DWARF information, the
symbolization CPU overhead is negligible.

Example profiles:

*
[pageserver.pb.gz](https://github.com/user-attachments/files/18141395/pageserver.pb.gz)
*
[safekeeper.pb.gz](https://github.com/user-attachments/files/18141396/safekeeper.pb.gz)
2024-12-17 16:51:58 +00:00
..
2022-08-16 18:49:22 +03:00
2024-09-16 18:45:19 +00:00
2024-12-17 16:51:58 +00:00
2024-09-08 21:47:57 +03:00
2024-10-18 10:27:50 +01:00
2024-01-23 11:17:15 +00:00
2024-09-19 11:57:10 +03:00