MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / printTrace

Function printTrace

src/fastlock.cpp:189–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189void printTrace()
190{
191#ifdef HAVE_BACKTRACE
192 serverLog(3 /*LL_WARNING*/, "printing backtrace for thread %d", gettid());
193 logStackTrace(nullptr, 1);
194#endif
195}
196
197
198#ifdef __linux__

Callers 1

registerwaitMethod · 0.85

Calls 3

serverLogFunction · 0.85
gettidFunction · 0.85
logStackTraceFunction · 0.70

Tested by

no test coverage detected