MCPcopy Create free account
hub / github.com/F-Stack/f-stack / bugReportStart

Function bugReportStart

app/redis-6.2.6/src/debug.c:1011–1019  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1009}
1010
1011void bugReportStart(void) {
1012 pthread_mutex_lock(&bug_report_start_mutex);
1013 if (bug_report_start == 0) {
1014 serverLogRaw(LL_WARNING|LL_RAW,
1015 "\n\n=== REDIS BUG REPORT START: Cut & paste starting from here ===\n");
1016 bug_report_start = 1;
1017 }
1018 pthread_mutex_unlock(&bug_report_start_mutex);
1019}
1020
1021#ifdef HAVE_BACKTRACE
1022static void *getMcontextEip(ucontext_t *uc) {

Callers 5

_serverAssertFunction · 0.85
_serverAssertPrintObjectFunction · 0.85
_serverPanicFunction · 0.85
sigsegvHandlerFunction · 0.85

Calls 3

pthread_mutex_lockFunction · 0.85
serverLogRawFunction · 0.85
pthread_mutex_unlockFunction · 0.85

Tested by

no test coverage detected