Skip to content
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

Split out --enable-tracy-memory-tracking, disabled by default #4512

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

graydon
Copy link
Contributor

@graydon graydon commented Oct 21, 2024

This splits out the memory-tracking machinery of tracy and disables it by default unless the user configures with --enable-tracy-memory-tracking. In practice we seem to use this much less often than normal tracy, and it has a much higher overhead -- enough to become nonresponsive under load -- so turning it off makes tracy more usable more of the time.

It's also mutually exclusive with asan, and we used to just silently disable the memory-tracking part of tracy when asan was on, but I changed it to notice and complain when you use asan with this new flag specifically. Seems a better (less head-scratching) experience than just silently not-getting the instrumentation.

@graydon graydon added this pull request to the merge queue Oct 22, 2024
Merged via the queue into stellar:master with commit e48c163 Oct 22, 2024
13 checks passed
@graydon graydon deleted the tracy-memory-tracking branch October 22, 2024 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants