Searched refs:tmon_log (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/tools/thermal/tmon/ |
D | tmon.c | 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() [all …]
|
D | sysfs.c | 495 if (tmon_log) { in update_thermal_data() 496 fprintf(tmon_log, "%lu ", ++samples); in update_thermal_data() 497 fprintf(tmon_log, "%3.1f ", p_param.t_target); in update_thermal_data() 505 if (tmon_log) in update_thermal_data() 506 fprintf(tmon_log, "%lu ", in update_thermal_data() 520 if (tmon_log) in update_thermal_data() 521 fprintf(tmon_log, "%lu ", val); in update_thermal_data() 524 if (tmon_log) { in update_thermal_data() 525 fprintf(tmon_log, "\n"); in update_thermal_data() 526 fflush(tmon_log); in update_thermal_data()
|
D | tmon.h | 142 extern FILE *tmon_log;
|