VLC  4.0.0-dev

Tracing functions. More...

Include dependency graph for vlc_tracer.h:

Go to the source code of this file.

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__)
 
#define VLC_TRACE_END    vlc_tracer_entry_FromString(NULL, NULL)
 
#define VLC_TRACE(key, value)
 

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...
 
static struct vlc_tracer_entry vlc_tracer_entry_FromTick (const char *key, vlc_tick_t value)
 
static struct vlc_tracer_entry vlc_tracer_entry_FromString (const char *key, const char *value)
 
static void vlc_tracer_TraceStreamPTS (struct vlc_tracer *tracer, const char *type, const char *id, const char *stream, vlc_tick_t pts)
 
static void vlc_tracer_TraceStreamDTS (struct vlc_tracer *tracer, const char *type, const char *id, const char *stream, vlc_tick_t pts, vlc_tick_t dts)
 
static void vlc_tracer_TraceRender (struct vlc_tracer *tracer, const char *type, const char *id, vlc_tick_t now, vlc_tick_t pts)
 
static void vlc_tracer_TraceEvent (struct vlc_tracer *tracer, const char *type, const char *id, const char *event)
 
static void vlc_tracer_TracePCR (struct vlc_tracer *tracer, const char *type, const char *id, vlc_tick_t pcr)
 

Detailed Description

Tracing functions.