#include <trace_context.h>
|
using | ThreadNamesMap = std::unordered_map< uint64_t, std::string > |
|
TraceContext is an object which encapsulates all information and metadata surrounding a trace that might be required to perform an export.
The TraceContext enforces movement semantics as it contains a std::unique_ptr
void phosphor::TraceContext::addThreadName |
( |
uint64_t |
id, |
|
|
const std::string & |
name |
|
) |
| |
|
protected |
Add an element to the thread name map.
Return a pointer to the trace buffer for this context.
const ThreadNamesMap& phosphor::TraceContext::getThreadNames |
( |
| ) |
const |
|
inline |
Return the map of thread IDs -> names
The documentation for this class was generated from the following files: