Rename opcodes for a better readability
authorDaniel Zaoui <daniel.zaoui@yahoo.com>
Fri, 2 Jun 2017 09:12:00 +0000 (12:12 +0300)
committerDaniel Zaoui <daniel.zaoui@yahoo.com>
Mon, 5 Jun 2017 05:55:38 +0000 (08:55 +0300)
src/bin/efl/efl_debug.c
src/lib/eina/eina_debug_bt.c
src/lib/eina/eina_debug_cpu.c
src/lib/eina/eina_evlog.c

index 955aabe..be96b04 100644 (file)
@@ -231,11 +231,11 @@ static const Eina_Debug_Opcode ops[] =
      {"Daemon/Client/added",              NULL,                   &_clients_info_added_cb},
      {"Daemon/Client/deleted",            NULL,                   &_clients_info_deleted_cb},
      {"Daemon/Client/cid_from_pid",       &_cid_from_pid_opcode,  &_cid_get_cb},
-     {"profiler/on",                      &_prof_on_opcode,       NULL},
-     {"profiler/off",                     &_prof_off_opcode,      NULL},
-     {"cpufreq/on",                       &_cpufreq_on_opcode,    NULL},
-     {"cpufreq/off",                      &_cpufreq_off_opcode,   NULL},
-     {"evlog/get",                        &_evlog_get_opcode,     _evlog_get_cb},
+     {"Profiler/on",                      &_prof_on_opcode,       NULL},
+     {"Profiler/off",                     &_prof_off_opcode,      NULL},
+     {"CPU/Freq/on",                      &_cpufreq_on_opcode,    NULL},
+     {"CPU/Freq/off",                     &_cpufreq_off_opcode,   NULL},
+     {"EvLog/get",                        &_evlog_get_opcode,     _evlog_get_cb},
      {NULL, NULL, NULL}
 };
 
index 5931029..157fe54 100644 (file)
@@ -256,10 +256,11 @@ _prof_off_cb(Eina_Debug_Session *session EINA_UNUSED, int cid EINA_UNUSED, void
    return EINA_TRUE;
 }
 
-static const Eina_Debug_Opcode _OPS[] = {
-       {"profiler/on", NULL, &_prof_on_cb},
-       {"profiler/off", NULL, &_prof_off_cb},
-       {NULL, NULL, NULL}
+static const Eina_Debug_Opcode _OPS[] =
+{
+     {"Profiler/on", NULL, &_prof_on_cb},
+     {"Profiler/off", NULL, &_prof_off_cb},
+     {NULL, NULL, NULL}
 };
 
 Eina_Bool
index 9421afa..505bed0 100644 (file)
@@ -272,10 +272,11 @@ _cpufreq_off_cb(Eina_Debug_Session *session EINA_UNUSED, int cid EINA_UNUSED, vo
    return EINA_TRUE;
 }
 
-static const Eina_Debug_Opcode _OPS[] = {
-       {"cpufreq/on", NULL, &_cpufreq_on_cb},
-       {"cpufreq/off", NULL, &_cpufreq_off_cb},
-       {NULL, NULL, NULL}
+static const Eina_Debug_Opcode _OPS[] =
+{
+     {"CPU/Freq/on", NULL, &_cpufreq_on_cb},
+     {"CPU/Freq/off", NULL, &_cpufreq_off_cb},
+     {NULL, NULL, NULL}
 };
 
 Eina_Bool
index e35df81..c078bee 100644 (file)
@@ -249,11 +249,12 @@ _stop_cb(Eina_Debug_Session *session EINA_UNUSED, int cid EINA_UNUSED, void *buf
    return EINA_TRUE;
 }
 
-static const Eina_Debug_Opcode _EINA_DEBUG_EVLOG_OPS[] = {
-       {"evlog/on", NULL, &_start_cb},
-       {"evlog/off", NULL, &_stop_cb},
-       {"evlog/get", &_evlog_get_opcode, &_get_cb},
-       {NULL, NULL, NULL}
+static const Eina_Debug_Opcode _EINA_DEBUG_EVLOG_OPS[] =
+{
+     {"EvLog/on", NULL, &_start_cb},
+     {"EvLog/off", NULL, &_stop_cb},
+     {"EvLog/get", &_evlog_get_opcode, &_get_cb},
+     {NULL, NULL, NULL}
 };
 
 Eina_Bool