提交 9955b2d7 编写于 作者: X xionglei6

add bootchart

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 aa45ae70
{ {
"jobs": [], "jobs": [
"services": [], "param:sys.usb.config=hdc && param:sys.usb.configfs=1",
"groups": [] "param:sys.usb.ffs.ready=1 && param:sys.usb.config=hdc && param:sys.usb.configfs=1",
"boot && param:persist.sys.usb.config=*",
"param:sys.usb.config=none && param:sys.usb.configfs=0",
"boot && param:const.debuggable=1",
"param:sys.usb.config=none && param:sys.usb.configfs=1",
"load_persist_props_action"
],
"services": [
"ueventd",
"console",
"watchdog_service",
"hdf_devmgr",
"samgr",
"param_watcher"
],
"groups": [
]
} }
\ No newline at end of file
...@@ -191,7 +191,7 @@ static void *BootchartThreadMain(void *data) ...@@ -191,7 +191,7 @@ static void *BootchartThreadMain(void *data)
break; break;
} }
pthread_mutex_unlock(&(g_bootchartCtrl->mutex)); pthread_mutex_unlock(&(g_bootchartCtrl->mutex));
PLUGIN_LOGI("bootcharting running"); PLUGIN_LOGV("bootcharting running");
BootchartLogFile(statFile, "/proc/stat"); BootchartLogFile(statFile, "/proc/stat");
BootchartLogFile(diskFile, "/proc/diskstats"); BootchartLogFile(diskFile, "/proc/diskstats");
bootchartLogProcess(procFile); bootchartLogProcess(procFile);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册