diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d4fbc73..941c3058 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- Update `MAX_DEPTH` to 128 + ## [0.10.0] - 2022-06-27 ### Changed diff --git a/src/lib.rs b/src/lib.rs index 01025a42..d8937562 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -40,7 +40,7 @@ //! [README.md](https://github.com/tikv/pprof-rs/blob/master/README.md) /// Define the MAX supported stack depth. TODO: make this variable mutable. -pub const MAX_DEPTH: usize = 32; +pub const MAX_DEPTH: usize = 128; /// Define the MAX supported thread name length. TODO: make this variable mutable. pub const MAX_THREAD_NAME: usize = 16;