static Eina_List *sessions;
static Eina_Bool _debug_disabled = EINA_FALSE;
+//TIZEN_ONLY(20180910): disable cpu debug
+static Eina_Bool _debug_cpu_disabled = EINA_FALSE;
+//
/* Local session */
/* __thread here to allow debuggers to be master and slave by using two different threads */
self = pthread_self();
_eina_debug_thread_mainloop_set(&self);
_eina_debug_thread_add(&self);
+
+//TIZEN_ONLY(20180910): disable cpu debug
+ if (!getenv("EFL_NO_CPU_DEBUG"))
+ {
+ _debug_disabled = EINA_TRUE;
+ }
+ if (!_debug_disabled)
+//
_eina_debug_cpu_init();
_eina_debug_bt_init();
_eina_debug_timer_init();
_eina_debug_timer_shutdown();
_eina_debug_bt_shutdown();
+//TIZEN_ONLY(20180910): disable cpu debug
+ if (!_debug_disabled)
+//
_eina_debug_cpu_shutdown();
_eina_debug_thread_del(&self);
eina_spinlock_free(&_eina_debug_lock);