pprof: Use Google's tcmalloc heap profiling capabilities
Open
enhancement
no stalebot
- Dominant language
- C++
- Stars
- 28.9k
- Forks
- 5.6k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 437
Description
*Description*:
If envoy is built with Google's tcmalloc (default setup for linux-amd64 platform) there is no heap profiling support anymore.
It is possible however to implement `/debug/pprof/heap` admin endpoint using tcmalloc's profiling API.
*Relevant Links*:
tcmalloc API: https://github.com/google/tcmalloc/blob/21eabdde8d9c4ce21e4785d7a7af71a6eaec2d1c/tcmalloc/malloc_extension.h#L403
Contributor guide
Assessment
This issue has not been assessed yet.