mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 01:12:56 +00:00
## Problem The code to generate symbolized pprof heap profiles and flamegraph SVGs has been upstreamed to the `jemalloc_pprof` crate: * https://github.com/polarsignals/rust-jemalloc-pprof/pull/22 * https://github.com/polarsignals/rust-jemalloc-pprof/pull/23 ## Summary of changes Use `jemalloc_pprof` to generate symbolized pprof heap profiles and flamegraph SVGs. This reintroduces a bunch of internal jemalloc stack frames that we'd previously strip, e.g. each stack now always ends with `prof_backtrace_impl` (where jemalloc takes a stack trace for heap profiling), but that seems ok.
12 lines
372 B
Rust
12 lines
372 B
Rust
pub mod endpoint;
|
|
pub mod error;
|
|
pub mod failpoints;
|
|
pub mod json;
|
|
pub mod request;
|
|
|
|
extern crate hyper0 as hyper;
|
|
|
|
/// Current fast way to apply simple http routing in various Neon binaries.
|
|
/// Re-exported for sake of uniform approach, that could be later replaced with better alternatives, if needed.
|
|
pub use routerify::{RouterBuilder, RouterService, ext::RequestExt};
|