-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add profiling options #74
Conversation
daec210
to
6f03106
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why only read access is needed?
jemalloc-ctl/src/profiling.rs
Outdated
//! `jemalloc`'s run-time configuration for profiling-specific settings. | ||
//! | ||
//! These settings are controlled by the `MALLOC_CONF` environment variable. | ||
#![cfg(feature = "profiling")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's already marked in lib.rs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whoops, removed
Jemalloc docs say the following:
Write access would be nice, but it doesn't look like we can have write access for these |
Signed-off-by: Dan Cline <[email protected]>
Signed-off-by: Dan Cline <[email protected]>
Signed-off-by: Dan Cline <[email protected]>
9b9e272
to
299ecd0
Compare
Thanks! |
Adds a subset of the profiling options. This requires the
profiling
feature to be enabled ontikv-jemalloc-ctl
to be used.Also adds the new
macos-14
runner for theaarch64-apple-darwin
target to CI.