Introduce jemalloc-allocator feature flag (#6675)
* Introduce jemalloc-stats feature flag * remove unneeded space * Update node/overseer/src/lib.rs Co-authored-by:Marcin S. <marcin@bytedude.com> * Update Cargo.toml Co-authored-by:
Marcin S. <marcin@bytedude.com> * revert making tikv-jemallocator depend on jemalloc-stats * conditionally import memory_stats instead of using dead_code * fix test via expllicit import * Add jemalloc-stats feature to crates, propagate it from root * Apply `jemalloc-stats` feature to prepare mem stats; small refactor * effect changes recommended on PR * Update node/overseer/src/metrics.rs Co-authored-by:
Marcin S. <marcin@bytedude.com> * fix compile error on in pipeline for linux. missing import * Update node/overseer/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * revert to defining collect_memory_stats inline --------- Co-authored-by:
Marcin S. <marcin@bytedude.com> Co-authored-by:
Marcin S <marcin@realemail.net> Co-authored-by:
Bastian Köcher <git@kchr.de>
Showing
- polkadot/Cargo.lock 2 additions, 0 deletionspolkadot/Cargo.lock
- polkadot/Cargo.toml 6 additions, 1 deletionpolkadot/Cargo.toml
- polkadot/node/core/pvf/Cargo.toml 5 additions, 1 deletionpolkadot/node/core/pvf/Cargo.toml
- polkadot/node/core/pvf/src/prepare/memory_stats.rs 165 additions, 158 deletionspolkadot/node/core/pvf/src/prepare/memory_stats.rs
- polkadot/node/core/pvf/src/prepare/worker.rs 9 additions, 6 deletionspolkadot/node/core/pvf/src/prepare/worker.rs
- polkadot/node/overseer/Cargo.toml 5 additions, 1 deletionpolkadot/node/overseer/Cargo.toml
- polkadot/node/overseer/src/lib.rs 6 additions, 3 deletionspolkadot/node/overseer/src/lib.rs
- polkadot/node/overseer/src/memory_stats.rs 4 additions, 4 deletionspolkadot/node/overseer/src/memory_stats.rs
- polkadot/node/overseer/src/metrics.rs 9 additions, 4 deletionspolkadot/node/overseer/src/metrics.rs
- polkadot/src/main.rs 1 addition, 0 deletionspolkadot/src/main.rs
Please register or sign in to comment