Skip to content

Conversation

murki
Copy link
Contributor

@murki murki commented Oct 8, 2025

Since Linux thread names only supports 15 char limits, let's shorten our thread names to help with Android's profiling, e.g.
Screenshot 2025-10-08 at 1 39 38 PM

@murki murki requested a review from snowp October 8, 2025 17:40
let cloned_shared_data = shared_data.clone();
let flush_thread = std::thread::Builder::new()
.name(format!("bitdrift-buffer-{name}"))
.name(format!("bd-buffer-{name}"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these will go over since the name is default_buffer or whatever it is, but not sure what else to put?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RIP, not much we can do besides changing the default config at this point, since today they're called default_buffer_id and continuous_buffer

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

regardless with truncation we should be able to tell bd-buffer-defau vs bd-buffer-conti so it's good enough for this purpose

@murki murki merged commit e55e2b5 into main Oct 8, 2025
6 checks passed
@murki murki deleted the murki/thread-rename branch October 8, 2025 17:53
@github-actions github-actions bot locked and limited conversation to collaborators Oct 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants