feat: add stats and background_threads features for jemalloc (#431)

Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
Gaius 2024-04-29 10:47:38 +08:00 committed by GitHub
parent 7d83cabdc8
commit ac45582fc8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ futures-util = "0.3.30"
termion = "3.0.0"
[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = { version = "0.5.4", features = ["profiling", "unprefixed_malloc_on_supported_platforms"] }
tikv-jemallocator = { version = "0.5.4", features = ["profiling", "stats", "unprefixed_malloc_on_supported_platforms", "background_threads"] }
[target.'cfg(target_os = "linux")'.dependencies]
jemalloc_pprof = "0.1.0"