VLC  4.0.0-dev
Modules | Files | Data Structures | Typedefs | Enumerations | Functions

Message traces. More...

Collaboration diagram for Tracing:

Modules

 Tracer
 Tracing back-end.
 

Files

file  vlc_tracer.h
 Tracing functions.
 

Data Structures

union  vlc_tracer_value_t
 
struct  vlc_tracer_entry
 Trace message. More...
 
struct  vlc_tracer_operations
 

Typedefs

typedef void(* vlc_trace_cb) (void *data, va_list entries)
 Trace logging callback signature. More...
 

Enumerations

enum  vlc_tracer_value { VLC_TRACER_INT , VLC_TRACER_STRING }
 Trace message values. More...
 

Functions

void vlc_tracer_Trace (struct vlc_tracer *tracer,...)
 Emit traces. More...
 

Detailed Description

Message traces.

Functions for modules to emit traces.

Typedef Documentation

◆ vlc_trace_cb

typedef void(* vlc_trace_cb) (void *data, va_list entries)

Trace logging callback signature.

va-args can only be vlc_tracer_entry and the va-args list should be ended by a vlc_tracer_entry with a NULL key.

Parameters
datadata pointer as provided to vlc_tracer_Trace().

Enumeration Type Documentation

◆ vlc_tracer_value

Trace message values.

Enumerator
VLC_TRACER_INT 
VLC_TRACER_STRING 

Function Documentation

◆ vlc_tracer_Trace()

void vlc_tracer_Trace ( struct vlc_tracer tracer,
  ... 
)

Emit traces.

va-args are a list of key / value parameters. Key must be a not NULL string. Value has to be defined with one of the type defined in the vlc_tracer_entry union.

Parameters
tracertracer emitting the traces

References container_of, vlc_tracer_module::opaque, vlc_tracer::ops, vlc_tracer_operations::trace, and vlc_tracer_module::tracer.

Referenced by vlc_tracer_TracePCR(), vlc_tracer_TraceRender(), vlc_tracer_TraceStreamDTS(), and vlc_tracer_TraceStreamPTS().