|
#define | spa_debugn(_fmt, ...) printf((_fmt), ## __VA_ARGS__) |
|
#define | spa_debug(_fmt, ...) spa_debugn(_fmt"\n", ## __VA_ARGS__) |
|
#define | spa_debugc(_c, _fmt, ...) (_c)?((_c)->log((_c),_fmt, ## __VA_ARGS__)):(void)spa_debug(_fmt, ## __VA_ARGS__) |
|
#define | SPA_LOGF_DEBUG_INIT(_l, _lev, _t, _file, _line, _func) |
|
#define | SPA_LOGT_DEBUG_INIT(_l, _lev, _t) SPA_LOGF_DEBUG_INIT(_l,_lev,_t,__FILE__,__LINE__,__func__) |
|
#define | SPA_LOG_DEBUG_INIT(l, lev) SPA_LOGT_DEBUG_INIT(l,lev,SPA_LOG_TOPIC_DEFAULT) |
|
#define | spa_debug_log_pod(l, lev, indent, info, pod) |
|
#define | spa_debug_log_format(l, lev, indent, info, format) |
|
#define | spa_debug_log_mem(l, lev, indent, data, len) |
|
#define | spa_debug_log_dict(l, lev, indent, dict) |
|
|
static int | spa_debugc_buffer (struct spa_debug_context *ctx, int indent, const struct spa_buffer *buffer) |
|
static int | spa_debug_buffer (int indent, const struct spa_buffer *buffer) |
|
static int | spa_debugc_dict (struct spa_debug_context *ctx, int indent, const struct spa_dict *dict) |
|
static int | spa_debug_dict (int indent, const struct spa_dict *dict) |
|
static int | spa_debug_strbuf_format_value (struct spa_strbuf *buffer, const struct spa_type_info *info, uint32_t type, void *body, uint32_t size) |
|
static int | spa_debug_format_value (const struct spa_type_info *info, uint32_t type, void *body, uint32_t size) |
|
static int | spa_debugc_format (struct spa_debug_context *ctx, int indent, const struct spa_type_info *info, const struct spa_pod *format) |
|
static int | spa_debug_format (int indent, const struct spa_type_info *info, const struct spa_pod *format) |
|
static void | spa_debug_log_log (struct spa_debug_context *ctx, const char *fmt,...) |
|
static int | spa_debugc_mem (struct spa_debug_context *ctx, int indent, const void *data, size_t size) |
|
static int | spa_debug_mem (int indent, const void *data, size_t size) |
|
static int | spa_debugc_port_info (struct spa_debug_context *ctx, int indent, const struct spa_port_info *info) |
|
static int | spa_debug_port_info (int indent, const struct spa_port_info *info) |
|
static int | spa_debugc_pod_value (struct spa_debug_context *ctx, int indent, const struct spa_type_info *info, uint32_t type, void *body, uint32_t size) |
|
static int | spa_debugc_pod (struct spa_debug_context *ctx, int indent, const struct spa_type_info *info, const struct spa_pod *pod) |
|
static int | spa_debug_pod_value (int indent, const struct spa_type_info *info, uint32_t type, void *body, uint32_t size) |
|
static int | spa_debug_pod (int indent, const struct spa_type_info *info, const struct spa_pod *pod) |
|
static const struct spa_type_info * | spa_debug_type_find (const struct spa_type_info *info, uint32_t type) |
|
static const char * | spa_debug_type_short_name (const char *name) |
|
static const char * | spa_debug_type_find_name (const struct spa_type_info *info, uint32_t type) |
|
static const char * | spa_debug_type_find_short_name (const struct spa_type_info *info, uint32_t type) |
|
static uint32_t | spa_debug_type_find_type (const struct spa_type_info *info, const char *name) |
|
static const struct spa_type_info * | spa_debug_type_find_short (const struct spa_type_info *info, const char *name) |
|
static uint32_t | spa_debug_type_find_type_short (const struct spa_type_info *info, const char *name) |
|
Debugging utilities.