Contur 2
Educational OS kernel simulator
Loading...
Searching...
No Matches
trace_event.h File Reference

Structured trace event record shared by tracing components. More...

#include <cstdint>
#include <string>
#include <string_view>
#include "contur/core/types.h"
#include "contur/tracing/trace_level.h"

Go to the source code of this file.

Classes

struct  contur::TraceEvent
 Structured trace event record. More...

Namespaces

namespace  contur

Functions

TraceEvent contur::makeTraceEvent (Tick timestamp, std::string_view subsystem, std::string_view operation, std::string_view details, std::uint32_t depth, TraceLevel level=TraceLevel::Info)
 Convenience helper for constructing a trace event.

Detailed Description

Structured trace event record shared by tracing components.

Definition in file trace_event.h.