23 #ifndef DEBUG_RING_INTERFACE_H 24 #define DEBUG_RING_INTERFACE_H 26 #pragma GCC system_header 123 extern inline uint64_t
130 if (drr == 0 || str == 0 || len == 0)
136 for (i = 0; i < content && i < len - 1; i++)
141 if (drr->
buf[spos] !=
'\0')
142 str[i] = drr->
buf[spos];
char buf[DEBUG_RING_SIZE]
uint64_t debug_ring_read(struct debug_ring_resources_t *drr, char *str, uint64_t len)
debug_ring_resources_t * drr