1
0
Mirror von https://github.com/tkuschel/bees.git synchronisiert 2026-06-19 06:57:54 +02:00

fs: add a runtime debug stream for btrfs tree searches

This allows plugging in an ostream at run time so that we can audit all
the search calls we are doing.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Dieser Commit ist enthalten in:
Zygo Blaxell
2025-02-02 12:25:50 -05:00
Ursprung 75040789c6
Commit a3c0ba0d69
2 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
+1
Datei anzeigen
@@ -201,6 +201,7 @@ namespace crucible {
static thread_local size_t s_calls;
static thread_local size_t s_loops;
static thread_local size_t s_loops_empty;
static thread_local shared_ptr<ostream> s_debug_ostream;
};
ostream & operator<<(ostream &os, const btrfs_ioctl_search_key &key);