diff options
| author | Kent Overstreet <[email protected]> | 2024-04-10 14:32:45 -0400 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2024-05-08 17:29:17 -0400 |
| commit | acce32a51e6c32e0ad8f921f9af2226e6750bb51 (patch) | |
| tree | 9e62ed6dbf8eb0e8b2e6c648f6a19e0ce8c05162 /tools/perf/scripts/python/bin | |
| parent | 62606398d5d718186d914d8f30be34177dc3f26d (diff) | |
bcachefs: printbuf improvements
- fix assorted (harmless) off-by-one errors
- we were inconsistent on whether out->pos stays <= out->size on
overflow; now it does, and printbuf.overflow exists to indicate if a
printbuf has overflowed
- factor out printbuf_advance_pos()
- printbuf_nul_terminate_reserved(); use this to reduce the number of
printbuf_make_room() calls
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions