Home
last modified time | relevance | path

Searched refs:g_executorId (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/startup/init/services/modules/seccomp/
H A Dseccomp_policy_static.c36 static int32_t g_executorId = -1; variable
39 if (g_executorId == -1) { in SetSeccompPolicyInit()
40 g_executorId = AddCmdExecutor("SetSeccompPolicy", SetSystemSeccompPolicy); in SetSeccompPolicyInit()
/ohos5.0/base/startup/init/services/modules/bootchart/
H A Dbootchart.c278 static int32_t g_executorId = -1; variable
281 if (g_executorId == -1) { in BootchartInit()
282 g_executorId = AddCmdExecutor("bootchart", DoBootchartCmd); in BootchartInit()
283 PLUGIN_LOGI("BootchartInit executorId %d", g_executorId); in BootchartInit()
290 PLUGIN_LOGI("BootchartExit executorId %d", g_executorId); in BootchartExit()
291 if (g_executorId != -1) { in BootchartExit()
292 RemoveCmdExecutor("bootchart", g_executorId); in BootchartExit()
/ohos5.0/base/startup/init/services/modules/trace/
H A Dinit_trace.c542 static int g_executorId = -1; variable
545 if (g_executorId == -1) { in InitTraceInit()
546 g_executorId = AddCmdExecutor("init_trace", DoInitTraceCmd); in InitTraceInit()
547 PLUGIN_LOGI("InitTraceInit executorId %d", g_executorId); in InitTraceInit()
554 PLUGIN_LOGI("InitTraceExit executorId %d", g_executorId); in InitTraceExit()
555 if (g_executorId != -1) { in InitTraceExit()
556 RemoveCmdExecutor("init_trace", g_executorId); in InitTraceExit()
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-boot-init-plugin.md130 if (g_executorId == -1) {
131 g_executorId = AddCmdExecutor("bootchart", DoBootchartCmd);
132 PLUGIN_LOGI("BootchartInit executorId %d", g_executorId);
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-boot-init-plugin.md115 if (g_executorId == -1) {
116 g_executorId = AddCmdExecutor("bootchart", DoBootchartCmd);
117 PLUGIN_LOGI("BootchartInit executorId %d", g_executorId);