You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
foundations includes a feature for memory profiling, which is very
useful. Unfortunately, that feature does not natively work with the
`jeprof` CLI tool because of the lack of a /pprof/symbol
endpoint. Since many Rust binaries are built with PIE, trying to
post-hoc symbolize with jeprof/pprof is quite challenging --
especially if running on a remote system that does not have debug
symbols available.
This commit implements /pprof/symbol, following the golang
implementation
(https://cs.opensource.google/go/go/+/refs/tags/go1.26.1:src/net/http/pprof/pprof.go;l=197)
as a guide. The actual symbolization is performed with the `backtrace`
crate, which was previously an indirect dependency and now becomes a
direct dependency.
0 commit comments