Searched refs:g_tracebuf (Results 1 – 1 of 1) sorted by relevance
45 static xge_os_tracebuf_t g_tracebuf; variable222 g_tracebuf.size = config->tracebuf_size; in xge_hal_driver_initialize()223 g_tracebuf.data = (char *)xge_os_malloc(NULL, g_tracebuf.size); in xge_hal_driver_initialize()224 if (g_tracebuf.data == NULL) { in xge_hal_driver_initialize()229 g_tracebuf.timestamp = config->tracebuf_timestamp_en; in xge_hal_driver_initialize()230 if (g_tracebuf.timestamp) { in xge_hal_driver_initialize()231 xge_os_timestamp(g_tracebuf.msg); in xge_hal_driver_initialize()232 g_tracebuf.msgbuf_max = XGE_OS_TRACE_MSGBUF_MAX - in xge_hal_driver_initialize()233 xge_os_strlen(g_tracebuf.msg); in xge_hal_driver_initialize()235 g_tracebuf.msgbuf_max = XGE_OS_TRACE_MSGBUF_MAX; in xge_hal_driver_initialize()[all …]