summaryrefslogtreecommitdiff
path: root/src/bin/efl
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@yahoo.com>2017-05-27 23:08:36 +0300
committerDaniel Zaoui <daniel.zaoui@yahoo.com>2017-06-05 08:55:37 +0300
commit67391a6684786e931cba564588e2b5c617bd2c18 (patch)
treeb58c7ffed896508065a290cd0cd66a252bebf2e7 /src/bin/efl
parent5ac9e54d676bcbbaff7f91decc876a6073805d38 (diff)
Use better names for daemon operations
Diffstat (limited to 'src/bin/efl')
-rw-r--r--src/bin/efl/efl_debug.c18
-rw-r--r--src/bin/efl/efl_debugd.c12
2 files changed, 15 insertions, 15 deletions
diff --git a/src/bin/efl/efl_debug.c b/src/bin/efl/efl_debug.c
index 1dff987633..121d4ff5f7 100644
--- a/src/bin/efl/efl_debug.c
+++ b/src/bin/efl/efl_debug.c
@@ -227,15 +227,15 @@ _args_handle(void *data EINA_UNUSED, Eina_Bool flag)
227 227
228static const Eina_Debug_Opcode ops[] = 228static const Eina_Debug_Opcode ops[] =
229{ 229{
230 {"daemon/observer/client/register", &_cl_stat_reg_opcode, NULL}, 230 {"Daemon/Client/register_observer", &_cl_stat_reg_opcode, NULL},
231 {"daemon/observer/slave_added", NULL, &_clients_info_added_cb}, 231 {"Daemon/Client/added", NULL, &_clients_info_added_cb},
232 {"daemon/observer/slave_deleted", NULL, &_clients_info_deleted_cb}, 232 {"Daemon/Client/deleted", NULL, &_clients_info_deleted_cb},
233 {"daemon/info/cid_from_pid", &_cid_from_pid_opcode, &_cid_get_cb}, 233 {"Daemon/Client/cid_from_pid", &_cid_from_pid_opcode, &_cid_get_cb},
234 {"profiler/on", &_prof_on_opcode, NULL}, 234 {"profiler/on", &_prof_on_opcode, NULL},
235 {"profiler/off", &_prof_off_opcode, NULL}, 235 {"profiler/off", &_prof_off_opcode, NULL},
236 {"cpufreq/on", &_cpufreq_on_opcode, NULL}, 236 {"cpufreq/on", &_cpufreq_on_opcode, NULL},
237 {"cpufreq/off", &_cpufreq_off_opcode, NULL}, 237 {"cpufreq/off", &_cpufreq_off_opcode, NULL},
238 {"evlog/get", &_evlog_get_opcode, _evlog_get_cb}, 238 {"evlog/get", &_evlog_get_opcode, _evlog_get_cb},
239 {NULL, NULL, NULL} 239 {NULL, NULL, NULL}
240}; 240};
241 241
diff --git a/src/bin/efl/efl_debugd.c b/src/bin/efl/efl_debugd.c
index 7d53abf743..3a916574a5 100644
--- a/src/bin/efl/efl_debugd.c
+++ b/src/bin/efl/efl_debugd.c
@@ -608,12 +608,12 @@ main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
608 ecore_init(); 608 ecore_init();
609 609
610 _string_to_opcode_hash = eina_hash_string_superfast_new(NULL); 610 _string_to_opcode_hash = eina_hash_string_superfast_new(NULL);
611 _opcode_register("daemon/opcode/register", EINA_DEBUG_OPCODE_REGISTER, _opcode_register_cb); 611 _opcode_register("Daemon/opcode_register", EINA_DEBUG_OPCODE_REGISTER, _opcode_register_cb);
612 _opcode_register("daemon/greet", EINA_DEBUG_OPCODE_HELLO, _hello_cb); 612 _opcode_register("Daemon/greet", EINA_DEBUG_OPCODE_HELLO, _hello_cb);
613 _clients_stat_register_opcode = _opcode_register("daemon/observer/client/register", EINA_DEBUG_OPCODE_INVALID, _cl_stat_obs_register_cb); 613 _clients_stat_register_opcode = _opcode_register("Daemon/Client/register_observer", EINA_DEBUG_OPCODE_INVALID, _cl_stat_obs_register_cb);
614 _slave_added_opcode = _opcode_register("daemon/observer/slave_added", EINA_DEBUG_OPCODE_INVALID, NULL); 614 _slave_added_opcode = _opcode_register("Daemon/Client/added", EINA_DEBUG_OPCODE_INVALID, NULL);
615 _slave_deleted_opcode = _opcode_register("daemon/observer/slave_deleted", EINA_DEBUG_OPCODE_INVALID, NULL); 615 _slave_deleted_opcode = _opcode_register("Daemon/Client/deleted", EINA_DEBUG_OPCODE_INVALID, NULL);
616 _cid_from_pid_opcode = _opcode_register("daemon/info/cid_from_pid", EINA_DEBUG_OPCODE_INVALID, _cid_get_cb); 616 _cid_from_pid_opcode = _opcode_register("Daemon/Client/cid_from_pid", EINA_DEBUG_OPCODE_INVALID, _cid_get_cb);
617 _test_loop_opcode = _opcode_register("Test/data_loop", EINA_DEBUG_OPCODE_INVALID, _data_test_cb); 617 _test_loop_opcode = _opcode_register("Test/data_loop", EINA_DEBUG_OPCODE_INVALID, _data_test_cb);
618 618
619 _server_launch(); 619 _server_launch();