#endif
#if !defined(FLOG)
-#define DbgPrint(format, arg...) SECURE_LOGD("[\e[32m%s/%s\e[0m:%d] " format, util_basename(__FILE__), __func__, __LINE__, ##arg)
-#define ErrPrint(format, arg...) SECURE_LOGE("[\e[32m%s/%s\e[0m:%d] " format, util_basename(__FILE__), __func__, __LINE__, ##arg)
+#define DbgPrint(format, arg...) SECURE_LOGD(format, ##arg)
+#define ErrPrint(format, arg...) SECURE_LOGE(format, ##arg)
#else
extern FILE *__file_log_fp;
#define DbgPrint(format, arg...) do { fprintf(__file_log_fp, "[LOG] [\e[32m%s/%s\e[0m:%d] " format, util_basename(__FILE__), __func__, __LINE__, ##arg); fflush(__file_log_fp); } while (0)
* pd_create_cb must be reset.
* Because, in the create callback, user can call create_pd function again.
*/
- DbgPrint("CREATE_PD\n");
+ DbgPrint("PERF_DBOX\n");
cb(handler, status, cbdata);
} else if (handler->is_pd_created) {
lb_invoke_event_handler(handler, LB_EVENT_PD_CREATED);
if (!cb)
cb = default_pd_created_cb;
- DbgPrint("CREATE_PD\n");
+ DbgPrint("PERF_DBOX\n");
ret = master_rpc_async_request(handler, packet, 0, pd_create_cb, NULL);
if (ret == LB_STATUS_SUCCESS) {
handler->pd_created_cb = cb;
int flag = 1;
if (type & CONTENT_EVENT_MOUSE_MASK) {
- if (!handler->lb.mouse_event) {
- ErrPrint("Box is not support the mouse event\n");
+ if (!handler->lb.mouse_event)
return LB_STATUS_ERROR_INVALID;
- }
if (!handler->lb.data.fb) {
ErrPrint("Handler is not valid\n");