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

RAII tracing scope helper and trace macros. More...

#include <string_view>
#include "contur/tracing/i_tracer.h"

Go to the source code of this file.

Classes

class  contur::TraceScope
 RAII helper that pushes/pops tracer scope automatically. More...

Namespaces

namespace  contur

Macros

#define CONTUR_TRACE_SCOPE(tracer, subsystem, operation)
#define CONTUR_TRACE_BLOCK(code)
#define CONTUR_TRACE_L(tracer, level, subsystem, operation, details)
#define CONTUR_TRACE(tracer, subsystem, operation, details)

Detailed Description

RAII tracing scope helper and trace macros.

Definition in file trace_scope.h.

Macro Definition Documentation

◆ CONTUR_TRACE

#define CONTUR_TRACE ( tracer,
subsystem,
operation,
details )
Value:
((void)0)

Definition at line 74 of file trace_scope.h.

◆ CONTUR_TRACE_BLOCK

#define CONTUR_TRACE_BLOCK ( code)
Value:
((void)0)

Definition at line 72 of file trace_scope.h.

◆ CONTUR_TRACE_L

#define CONTUR_TRACE_L ( tracer,
level,
subsystem,
operation,
details )
Value:
((void)0)

Definition at line 73 of file trace_scope.h.

◆ CONTUR_TRACE_SCOPE

#define CONTUR_TRACE_SCOPE ( tracer,
subsystem,
operation )
Value:
((void)0)

Definition at line 71 of file trace_scope.h.