VLC 4.0.0-dev
|
Message traces. More...
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 |
Macros | |
#define | vlc_tracer_Trace(tracer, ...) vlc_tracer_TraceWithTs(tracer, vlc_tick_now(), __VA_ARGS__) |
Typedefs | |
typedef void(* | vlc_trace_cb) (void *data, vlc_tick_t ts, va_list entries) |
Trace logging callback signature. More... | |
Enumerations | |
enum | vlc_tracer_value { VLC_TRACER_INT , VLC_TRACER_TICK , VLC_TRACER_STRING } |
Trace message values. More... | |
Functions | |
void | vlc_tracer_TraceWithTs (struct vlc_tracer *tracer, vlc_tick_t ts,...) |
Emit traces. More... | |
Message traces.
Functions for modules to emit traces.
#define vlc_tracer_Trace | ( | tracer, | |
... | |||
) | vlc_tracer_TraceWithTs(tracer, vlc_tick_now(), __VA_ARGS__) |
typedef void(* vlc_trace_cb) (void *data, vlc_tick_t ts, 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.
data | data pointer as provided to vlc_tracer_Trace(). |
enum vlc_tracer_value |
void vlc_tracer_TraceWithTs | ( | struct vlc_tracer * | tracer, |
vlc_tick_t | ts, | ||
... | |||
) |
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.
tracer | tracer emitting the traces |
ts | timestamp of the current trace |
References container_of, vlc_tracer_module::opaque, vlc_tracer::ops, vlc_tracer_operations::trace, and vlc_tracer_module::tracer.
Referenced by RenderPicture(), and vlc_tracer_TraceRender().