Lines Matching refs:tmon_log
41 FILE *tmon_log; variable
76 if (tmon_log) in tmon_cleanup()
77 fclose(tmon_log); in tmon_cleanup()
139 tmon_log = fopen(TMON_LOG_FILE, "w+"); in prepare_logging()
140 if (!tmon_log) { in prepare_logging()
147 fclose(tmon_log); in prepare_logging()
148 tmon_log = NULL; in prepare_logging()
155 fclose(tmon_log); in prepare_logging()
156 tmon_log = NULL; in prepare_logging()
162 fclose(tmon_log); in prepare_logging()
163 tmon_log = NULL; in prepare_logging()
167 fprintf(tmon_log, "#----------- THERMAL SYSTEM CONFIG -------------\n"); in prepare_logging()
177 fprintf(tmon_log, "#thermal zone %s%02d cdevs binding: %32s\n", in prepare_logging()
182 fprintf(tmon_log, "#\tTP%02d type:%s, temp:%lu\n", j, in prepare_logging()
189 fprintf(tmon_log, "#cooling devices%02d: %s\n", in prepare_logging()
192 fprintf(tmon_log, "#---------- THERMAL DATA LOG STARTED -----------\n"); in prepare_logging()
193 fprintf(tmon_log, "Samples TargetTemp "); in prepare_logging()
195 fprintf(tmon_log, "%s%d ", ptdata.tzi[i].type, in prepare_logging()
199 fprintf(tmon_log, "%s%d ", ptdata.cdi[i].type, in prepare_logging()
202 fprintf(tmon_log, "\n"); in prepare_logging()