tikv / jemallocator

Rust allocator using jemalloc as a backend
Other
364 stars 62 forks source link

feat: add profiling options #74

Closed Rjected closed 7 months ago

Rjected commented 8 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 7 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 7 months ago

Thanks!