MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / getBackTrace

Method getBackTrace

libminifi/include/utils/BackTrace.h:104–111  ·  view source on GitHub ↗

* Retrieves the backtrace for the calling thread * @returns BackTrace instance */

Source from the content-addressed store, hash-verified

102 * @returns BackTrace instance
103 */
104 BackTrace getBackTrace(std::string thread_name) {
105#ifdef WIN32
106 // currrently not supported in windows
107 return BackTrace(std::move(thread_name));
108#else
109 return getBackTrace(std::move(thread_name), pthread_self());
110#endif
111 }
112
113 /**
114 * Returns a static instance of the thread resolver.

Callers 2

getTracesMethod · 0.45
getTracesMethod · 0.45

Calls 1

BackTraceClass · 0.85

Tested by

no test coverage detected