Lines Matching defs:log
30 void BootchartLogFile(FILE *log, const char *procfile);
31 void BootchartLogProcessStat(FILE *log, pid_t pid);
32 void bootchartLogProcess(FILE *log);
72 FILE *log = fopen("/data/init_ut/ModulesTest.log", "w");
73 if (log) {
74 BootchartLogFile(log, "/proc/stat");
75 (void)fflush(log);
76 (void)fclose(log);
82 FILE *log = fopen("/data/init_ut/ModulesTest.log", "w");
84 if (log != nullptr) {
85 BootchartLogProcessStat(log, selfPid);
86 (void)fflush(log);
87 (void)fclose(log);
93 FILE *log = fopen("/data/init_ut/ModulesTest.log", "w");
94 if (log) {
95 bootchartLogProcess(log);
96 (void)fflush(log);
97 (void)fclose(log);