(int)syscall(SYS_gettid), __FUNCTION__, __LINE__, ##args); \
} while (0)
+#define TBM_STDOUT_INFO(fmt, args...) \
+ do { \
+ struct timespec ts; \
+ clock_gettime(CLOCK_MONOTONIC, &ts); \
+ tbm_log_print_stdout(TBM_LOG_LEVEL_INFO, "[%5d.%06d][%d][%s %d]"fmt, \
+ (int)ts.tv_sec, (int)ts.tv_nsec / 1000, \
+ (int)syscall(SYS_gettid), __FUNCTION__, __LINE__, ##args); \
+ } while (0)
+
#define TBM_NEVER_GET_HERE() TBM_WRN("** NEVER GET HERE **")
#define TBM_DEPRECATED(str) \
do { \
bufmgr->bufmgr_data = bufmgr_data;
TBM_DBG("Success to load module(%s)\n", file);
+ TBM_STDOUT_INFO("Success to load module(%s)", file);
return 1;
}
/* load bufmgr priv from env */
+ TBM_STDOUT_INFO("loading backend module");
if (!_tbm_load_module(gBufMgr, gBufMgr->fd)) {
TBM_ERR("error : Fail to load bufmgr backend\n");
_tbm_set_last_result(TBM_ERROR_INVALID_OPERATION);
return NULL;
}
+ TBM_STDOUT_INFO("loading backend module done");
/* LCOV_EXCL_STOP */
gBufMgr->ref_count = 1;