Debugging utilities
More...
|
#define | spa_debug(fmt, ...) ({ printf((fmt"\n"), ## __VA_ARGS__); }) |
|
#define | spa_debugn(fmt, ...) ({ printf((fmt), ## __VA_ARGS__); }) |
|
|
static int | spa_debug_buffer (int indent, const struct spa_buffer *buffer) |
|
static int | spa_debug_dict (int indent, const struct spa_dict *dict) |
|
static int | spa_debug_format_value (const struct spa_type_info *info, uint32_t type, void *body, uint32_t size) |
|
static int | spa_debug_format (int indent, const struct spa_type_info *info, const struct spa_pod *format) |
|
static int | spa_debug_mem (int indent, const void *data, size_t size) |
|
static int | spa_debug_port_info (int indent, const struct spa_port_info *info) |
|
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
◆ spa_debug
#define spa_debug |
( |
| fmt, |
|
|
| ... ) ({ printf((fmt"\n"), ## __VA_ARGS__); }) |
◆ spa_debugn
#define spa_debugn |
( |
| fmt, |
|
|
| ... ) ({ printf((fmt), ## __VA_ARGS__); }) |
◆ spa_debug_buffer()
static int spa_debug_buffer |
( |
int | indent, |
|
|
const struct spa_buffer * | buffer ) |
|
inlinestatic |
◆ spa_debug_dict()
static int spa_debug_dict |
( |
int | indent, |
|
|
const struct spa_dict * | dict ) |
|
inlinestatic |
◆ spa_debug_format_value()
static int spa_debug_format_value |
( |
const struct spa_type_info * | info, |
|
|
uint32_t | type, |
|
|
void * | body, |
|
|
uint32_t | size ) |
|
inlinestatic |
◆ spa_debug_format()
static int spa_debug_format |
( |
int | indent, |
|
|
const struct spa_type_info * | info, |
|
|
const struct spa_pod * | format ) |
|
inlinestatic |
◆ spa_debug_mem()
static int spa_debug_mem |
( |
int | indent, |
|
|
const void * | data, |
|
|
size_t | size ) |
|
inlinestatic |
◆ spa_debug_port_info()
static int spa_debug_port_info |
( |
int | indent, |
|
|
const struct spa_port_info * | info ) |
|
inlinestatic |
◆ spa_debug_pod_value()
static int spa_debug_pod_value |
( |
int | indent, |
|
|
const struct spa_type_info * | info, |
|
|
uint32_t | type, |
|
|
void * | body, |
|
|
uint32_t | size ) |
|
inlinestatic |
◆ spa_debug_pod()
static int spa_debug_pod |
( |
int | indent, |
|
|
const struct spa_type_info * | info, |
|
|
const struct spa_pod * | pod ) |
|
inlinestatic |
◆ spa_debug_type_find()
◆ spa_debug_type_short_name()
static const char * spa_debug_type_short_name |
( |
const char * | name | ) |
|
|
inlinestatic |
◆ spa_debug_type_find_name()
static const char * spa_debug_type_find_name |
( |
const struct spa_type_info * | info, |
|
|
uint32_t | type ) |
|
inlinestatic |
◆ spa_debug_type_find_short_name()
static const char * spa_debug_type_find_short_name |
( |
const struct spa_type_info * | info, |
|
|
uint32_t | type ) |
|
inlinestatic |
◆ spa_debug_type_find_type()
static uint32_t spa_debug_type_find_type |
( |
const struct spa_type_info * | info, |
|
|
const char * | name ) |
|
inlinestatic |
◆ spa_debug_type_find_short()
◆ spa_debug_type_find_type_short()
static uint32_t spa_debug_type_find_type_short |
( |
const struct spa_type_info * | info, |
|
|
const char * | name ) |
|
inlinestatic |