Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#1982 bbbuf.c: Fixes incorrect wrapping
Fixes the incorrect wrapping on the buffer by bbbuf.c. Previously it used a uqadd16, which saturates instead of wraps, resulting in the buffer never wrapping. We now use drx_buf which optimizes for buffers of 16KB to produce the same instrumentation. Also optimizes drx_buf to fast-fail any signal handlers if only the optimized circular buffer has been created. Fixes #1982 Review-URL: https://codereview.appspot.com/317080043
- Loading branch information
1 parent
59721da
commit 2380ed9
Showing
3 changed files
with
33 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters