5#include "mos/platform/platform_defs.h"
9#ifndef MOS_PLATFORM_DEBUG_MODULES
10#define MOS_PLATFORM_DEBUG_MODULES(X)
15#define MOS_GENERIC_PLATFORM_DEBUG_MODULES(X) \
19#define MOS_ALL_DEBUG_MODULES(X) \
20 MOS_PLATFORM_DEBUG_MODULES(X) \
21 MOS_GENERIC_PLATFORM_DEBUG_MODULES(X) \
52#if MOS_CONFIG(MOS_DYNAMIC_DEBUG)
54typedef struct _debug_info_entry
61extern struct _mos_debug_info
63#define _expand_field(name) debug_info_entry name;
68#define mos_debug_enabled(name) (mos_debug_info.name.enabled)
69#define mos_debug_enabled_ptr(name) (&mos_debug_info.name.enabled)
71#define mos_debug_enabled(name) MOS_DEBUG_FEATURE(name)
72#define mos_debug_enabled_ptr(name) NULL
#define MOS_ALL_DEBUG_MODULES(X)