summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-11-07 15:50:13 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-11-07 16:08:39 -0800
commit4f70a295801b5fd7600d43b3aaa90241165c4ac5 (patch)
treea32c9a67dfa1697eb222cd7f941a850319fd23b9
parente729d6b994ef27e4299ac3719da976855a8db907 (diff)
elementary: add debugging information to quicklaunch binary.
-rw-r--r--src/bin/elementary/quicklaunch.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/bin/elementary/quicklaunch.c b/src/bin/elementary/quicklaunch.c
index 765806e823..b7fec56740 100644
--- a/src/bin/elementary/quicklaunch.c
+++ b/src/bin/elementary/quicklaunch.c
@@ -109,6 +109,7 @@ handle_run(int fd, unsigned long bytes)
109 CRI("no bytes to quicklaunch"); 109 CRI("no bytes to quicklaunch");
110 return; 110 return;
111 } 111 }
112 DBG("Starting building up process.");
112 _elm_startup_time = ecore_time_unix_get(); 113 _elm_startup_time = ecore_time_unix_get();
113 114
114 buf = alloca(bytes); 115 buf = alloca(bytes);
@@ -157,9 +158,15 @@ handle_run(int fd, unsigned long bytes)
157 } 158 }
158 } 159 }
159#endif 160#endif
161
162 INF("Requested to run '%s' with %i arguments and %i environment.",
163 argv[0], argc - 1, envnum);
160 // Try new form before trying old form 164 // Try new form before trying old form
161 if (!efl_quicklaunch_prepare(argc, argv, cwd)) 165 if (!efl_quicklaunch_prepare(argc, argv, cwd))
162 elm_quicklaunch_prepare(argc, argv, cwd); 166 {
167 WRN("Failed to prepare with new EFL_MAIN macro, switching to legacy.");
168 elm_quicklaunch_prepare(argc, argv, cwd);
169 }
163 170
164 elm_quicklaunch_fork(argc, argv, cwd, post_fork, NULL); 171 elm_quicklaunch_fork(argc, argv, cwd, post_fork, NULL);
165 elm_quicklaunch_cleanup(); 172 elm_quicklaunch_cleanup();
@@ -329,6 +336,8 @@ main(int argc, char **argv)
329 336
330 len = sizeof(struct sockaddr_un); 337 len = sizeof(struct sockaddr_un);
331 fd = accept(sock, (struct sockaddr *)&client, &len); 338 fd = accept(sock, (struct sockaddr *)&client, &len);
339
340 DBG("Accepting connection.");
332 elm_quicklaunch_sub_init(argc, argv); 341 elm_quicklaunch_sub_init(argc, argv);
333 // don't seed since we are doing this AFTER launch request 342 // don't seed since we are doing this AFTER launch request
334 // elm_quicklaunch_seed(); 343 // elm_quicklaunch_seed();