Changeset: 11bebf588226 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/11bebf588226 Modified Files: gdk/gdk_bbp.c gdk/gdk_system.c sql/backends/monet5/sql_scenario.c sql/storage/store.c Branch: Dec2023 Log Message:
Indicate different SIGUSR1 output sections. diffs (53 lines): diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c --- a/gdk/gdk_bbp.c +++ b/gdk/gdk_bbp.c @@ -4987,6 +4987,7 @@ BBPprintinfo(void) } uint32_t nfree = BBP_nfree; BBPtmunlock(); + printf("BATs:\n"); if (bats[1][1][1][1][1].nr > 0) printf("fix, dirty, persistent, loaded, hot: %d bats, %zu virtual, %zu malloc\n", bats[1][1][1][1][1].nr, bats[1][1][1][1][1].vmsz, bats[1][1][1][1][1].sz); if (bats[1][1][1][1][0].nr > 0) diff --git a/gdk/gdk_system.c b/gdk/gdk_system.c --- a/gdk/gdk_system.c +++ b/gdk/gdk_system.c @@ -145,6 +145,7 @@ GDKlockstatistics(int what) MT_Lock *l; int n = 0; + printf("Locks:\n"); if (ATOMIC_TAS(&GDKlocklistlock) != 0) { printf("GDKlocklistlock is set, so cannot access lock list\n"); return; @@ -285,6 +286,8 @@ dump_threads(void) { char buf[1024]; thread_lock(); + if (!GDK_TRACER_TEST(M_DEBUG, THRD)) + printf("Threads:\n"); for (struct mtthread *t = mtthreads; t; t = t->next) { MT_Lock *lk = t->lockwait; MT_Sema *sm = t->semawait; diff --git a/sql/backends/monet5/sql_scenario.c b/sql/backends/monet5/sql_scenario.c --- a/sql/backends/monet5/sql_scenario.c +++ b/sql/backends/monet5/sql_scenario.c @@ -100,6 +100,7 @@ CLIENTprintinfo(void) struct tm tm; MT_lock_set(&mal_contextLock); + printf("Clients:\n"); for (Client c = mal_clients; c < mal_clients + MAL_MAXCLIENTS; c++) { switch (c->mode) { case RUNCLIENT: diff --git a/sql/storage/store.c b/sql/storage/store.c --- a/sql/storage/store.c +++ b/sql/storage/store.c @@ -7409,6 +7409,7 @@ void store_printinfo(sqlstore *store) { MT_lock_set(&store->commit); + printf("WAL:\n"); printf("SQL store oldest pending "ULLFMT"\n", store->oldest_pending); log_printinfo(store->logger); MT_lock_unset(&store->commit); _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org