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