forked from enlightenment/efl
Rename opcodes for a better readability
This commit is contained in:
parent
3107e0d3eb
commit
ab01f3f696
|
@ -231,11 +231,11 @@ static const Eina_Debug_Opcode ops[] =
|
||||||
{"Daemon/Client/added", NULL, &_clients_info_added_cb},
|
{"Daemon/Client/added", NULL, &_clients_info_added_cb},
|
||||||
{"Daemon/Client/deleted", NULL, &_clients_info_deleted_cb},
|
{"Daemon/Client/deleted", NULL, &_clients_info_deleted_cb},
|
||||||
{"Daemon/Client/cid_from_pid", &_cid_from_pid_opcode, &_cid_get_cb},
|
{"Daemon/Client/cid_from_pid", &_cid_from_pid_opcode, &_cid_get_cb},
|
||||||
{"profiler/on", &_prof_on_opcode, NULL},
|
{"Profiler/on", &_prof_on_opcode, NULL},
|
||||||
{"profiler/off", &_prof_off_opcode, NULL},
|
{"Profiler/off", &_prof_off_opcode, NULL},
|
||||||
{"cpufreq/on", &_cpufreq_on_opcode, NULL},
|
{"CPU/Freq/on", &_cpufreq_on_opcode, NULL},
|
||||||
{"cpufreq/off", &_cpufreq_off_opcode, NULL},
|
{"CPU/Freq/off", &_cpufreq_off_opcode, NULL},
|
||||||
{"evlog/get", &_evlog_get_opcode, _evlog_get_cb},
|
{"EvLog/get", &_evlog_get_opcode, _evlog_get_cb},
|
||||||
{NULL, NULL, NULL}
|
{NULL, NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -256,10 +256,11 @@ _prof_off_cb(Eina_Debug_Session *session EINA_UNUSED, int cid EINA_UNUSED, void
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const Eina_Debug_Opcode _OPS[] = {
|
static const Eina_Debug_Opcode _OPS[] =
|
||||||
{"profiler/on", NULL, &_prof_on_cb},
|
{
|
||||||
{"profiler/off", NULL, &_prof_off_cb},
|
{"Profiler/on", NULL, &_prof_on_cb},
|
||||||
{NULL, NULL, NULL}
|
{"Profiler/off", NULL, &_prof_off_cb},
|
||||||
|
{NULL, NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
Eina_Bool
|
Eina_Bool
|
||||||
|
|
|
@ -272,10 +272,11 @@ _cpufreq_off_cb(Eina_Debug_Session *session EINA_UNUSED, int cid EINA_UNUSED, vo
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const Eina_Debug_Opcode _OPS[] = {
|
static const Eina_Debug_Opcode _OPS[] =
|
||||||
{"cpufreq/on", NULL, &_cpufreq_on_cb},
|
{
|
||||||
{"cpufreq/off", NULL, &_cpufreq_off_cb},
|
{"CPU/Freq/on", NULL, &_cpufreq_on_cb},
|
||||||
{NULL, NULL, NULL}
|
{"CPU/Freq/off", NULL, &_cpufreq_off_cb},
|
||||||
|
{NULL, NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
Eina_Bool
|
Eina_Bool
|
||||||
|
|
|
@ -249,11 +249,12 @@ _stop_cb(Eina_Debug_Session *session EINA_UNUSED, int cid EINA_UNUSED, void *buf
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const Eina_Debug_Opcode _EINA_DEBUG_EVLOG_OPS[] = {
|
static const Eina_Debug_Opcode _EINA_DEBUG_EVLOG_OPS[] =
|
||||||
{"evlog/on", NULL, &_start_cb},
|
{
|
||||||
{"evlog/off", NULL, &_stop_cb},
|
{"EvLog/on", NULL, &_start_cb},
|
||||||
{"evlog/get", &_evlog_get_opcode, &_get_cb},
|
{"EvLog/off", NULL, &_stop_cb},
|
||||||
{NULL, NULL, NULL}
|
{"EvLog/get", &_evlog_get_opcode, &_get_cb},
|
||||||
|
{NULL, NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
Eina_Bool
|
Eina_Bool
|
||||||
|
|
Loading…
Reference in New Issue