Change-Id: I38fcd99e965afc36ede781b6a6250e8197673221
#ifdef TBM_BUFMGR_INIT_TIME
/* get the end tv */
#ifdef TBM_BUFMGR_INIT_TIME
/* get the end tv */
- gettimeofday(&end_tv, NULL);
+ gettimeofday(&end_tv, NULL);
TBM_LOG_I("tbm_bufmgr_init time: %ld ms", ((end_tv.tv_sec * 1000 + end_tv.tv_usec / 1000) - (start_tv.tv_sec * 1000 + start_tv.tv_usec / 1000)));
#endif
TBM_LOG_I("tbm_bufmgr_init time: %ld ms", ((end_tv.tv_sec * 1000 + end_tv.tv_usec / 1000) - (start_tv.tv_sec * 1000 + start_tv.tv_usec / 1000)));
#endif
#define TBM_LOG_I(fmt, ...) {\
if (bDlog) {\
#define TBM_LOG_I(fmt, ...) {\
if (bDlog) {\
- LOGD("[TBM:I] " fmt, ##__VA_ARGS__);\
+ LOGI("[TBM:I] " fmt, ##__VA_ARGS__);\
} \
else {\
fprintf(stderr, "[TBM:I(%d)(%s:%d)] " fmt, getpid(), __func__, __LINE__, ##__VA_ARGS__);\
} \
else {\
fprintf(stderr, "[TBM:I(%d)(%s:%d)] " fmt, getpid(), __func__, __LINE__, ##__VA_ARGS__);\
#define WL_HIDE_DEPRECATED
#define WL_HIDE_DEPRECATED
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define WL_HIDE_DEPRECATED
#define WL_HIDE_DEPRECATED
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <stddef.h>
-#include <unistd.h>
-#include <fcntl.h>
-#include <errno.h>
**************************************************************************/
#include "config.h"
**************************************************************************/
#include "config.h"
#include "tbm_bufmgr.h"
#include "tbm_bufmgr_int.h"
#include "tbm_surface_internal.h"
#include "tbm_bufmgr.h"
#include "tbm_bufmgr_int.h"
#include "tbm_surface_internal.h"
**************************************************************************/
#include "config.h"
**************************************************************************/
#include "config.h"
#include <stdio.h>
#include <time.h>
#include <sys/time.h>
#include <stdio.h>
#include <time.h>
#include <sys/time.h>
**************************************************************************/
**************************************************************************/
#include "tbm_bufmgr_int.h"
#include "list.h"
#include "tbm_bufmgr_int.h"
#include "list.h"
**************************************************************************/
**************************************************************************/
#include "tbm_bufmgr_int.h"
#include "tbm_sync.h"
#include "tbm_bufmgr_int.h"
#include "tbm_sync.h"
int errnum = errno;
char buf[ERRNO_BUF_SIZE];
int errnum = errno;
char buf[ERRNO_BUF_SIZE];
- if (strerror_r(errnum, buf, ERRNO_BUF_SIZE) == 0)
+ if (strerror_r(errnum, buf, ERRNO_BUF_SIZE) == 0) {
TBM_LOG_E("errno : %d(%s)\n", errnum, buf);
TBM_LOG_E("errno : %d(%s)\n", errnum, buf);
TBM_LOG_E("errno : %d()\n", errnum);
TBM_LOG_E("errno : %d()\n", errnum);