tikv / jemallocator

Rust allocator using jemalloc as a backend
Other
332 stars 52 forks source link

feat: add profiling options #74

Closed Rjected closed 3 months ago

Rjected commented 4 months ago

Adds a subset of the profiling options. This requires the profiling feature to be enabled on tikv-jemalloc-ctl to be used.

Also adds the new macos-14 runner for the aarch64-apple-darwin target to CI.

Rjected commented 3 months ago

Why only read access is needed?

Jemalloc docs say the following:

opt.prof (bool) r-
opt.lg_prof_interval (ssize_t) r-
opt.lg_prof_sample (size_t) r-
opt.prof_final (bool) r-
opt.prof_leak (bool) r-

Write access would be nice, but it doesn't look like we can have write access for these opts

BusyJay commented 3 months ago

Thanks!