1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Debug: keep a circular log of memory page operations

This commit is contained in:
Maria Matejka
2023-05-03 19:01:19 +02:00
parent 1e998a4349
commit 00f30ac40b
3 changed files with 78 additions and 6 deletions

View File

@@ -183,6 +183,8 @@ void bug(const char *msg, ...) NORET;
void debug(const char *msg, ...); /* Printf to debug output */
void debug_safe(const char *msg); /* Printf to debug output, async-safe */
extern _Thread_local uint this_thread_id;
/* Debugging */
#if defined(LOCAL_DEBUG) || defined(GLOBAL_DEBUG)