#include <fcntl.h>
#include <sys/time.h>
+#include "efl_tracing.h"
+
#ifdef HAVE_SYSTEMD
# include <systemd/sd-daemon.h>
#endif
eina_evlog("<RUN", NULL, 0.0, NULL);
eina_evlog("!SLEEP", NULL, 0.0, t ? "timeout" : "forever");
+ traceTaskStart("mainloop sleep");
if (obj == ML_OBJ)
ret = main_loop_select(max_fd + 1, &rfds, &wfds, &exfds, t);
else
ret = general_loop_select(max_fd + 1, &rfds, &wfds, &exfds, t);
+ traceTaskEnd();
#ifndef _WIN32
err_no = errno;
#endif