Skip to content
Commit b8eaf250 authored by Anthony Alaribe's avatar Anthony Alaribe Committed by GitHub
Browse files

Introduce jemalloc-allocator feature flag (#6675)



* Introduce jemalloc-stats feature flag

* remove unneeded space

* Update node/overseer/src/lib.rs

Co-authored-by: default avatarMarcin S. <[email protected]>

* Update Cargo.toml

Co-authored-by: default avatarMarcin S. <[email protected]>

* 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: default avatarMarcin S. <[email protected]>

* fix compile error on in pipeline for linux. missing import

* Update node/overseer/src/lib.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* revert to defining collect_memory_stats inline

---------

Co-authored-by: default avatarMarcin S. <[email protected]>
Co-authored-by: default avatarMarcin S <[email protected]>
Co-authored-by: default avatarBastian Köcher <[email protected]>
parent 7619fea8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment