MCPcopy Create free account
hub / github.com/NetSys/bess / SkipSymbol

Function SkipSymbol

core/debug.cc:291–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289static std::string oops_msg;
290
291static bool SkipSymbol(char *symbol) {
292 static const char *blacklist[] = {"(_ZN6google10LogMessage",
293 "(_ZN6google15LogMessageFatal"};
294
295 for (auto prefix : blacklist) {
296 if (strstr(symbol, prefix)) {
297 return true;
298 }
299 }
300
301 return false;
302}
303
304[[gnu::noinline]] std::string DumpStack() {
305 const size_t max_stack_depth = 64;

Callers 1

DumpStackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected