Lines Matching defs:log
73 log() {
136 log ERROR "Failed to read freq info from: %s" "${path}"
142 log ERROR "Got empty freq info from: %s" "${path}"
201 log ERROR "Cannot set freq to invalid value: %s" "$1"
205 log ERROR "Cannot set freq to unspecified value"
221 log INFO "Setting GPU max freq to %s MHz" "${SET_MAX_FREQ}"
226 log ERROR "Cannot set GPU max freq (%s) to be greater than hw max freq (%s)" \
232 log ERROR "Cannot set GPU max freq (%s) to be less than hw min freq (%s)" \
238 log ERROR "Cannot set GPU max freq (%s) to be less than min freq (%s)" \
248 log ERROR "Failed to set GPU max frequency"
257 log INFO "Setting GPU min freq to %s MHz" "${SET_MIN_FREQ}"
262 log ERROR "Cannot set GPU min freq (%s) to be greater than max freq (%s)" \
268 log ERROR "Cannot set GPU min freq (%s) to be less than hw min freq (%s)" \
277 log ERROR "Failed to set GPU min frequency"
312 log ERROR "Cannot set GPU max freq to be less than min freq"
330 log "Unexpected call to set_freq()"
343 log ERROR "Failed to read pid from: %s" "${THROTT_DETECT_PID_FILE_PATH}"
378 log INFO "Stopping throttling detector (pid=%s)" "${pid}"
385 log WARN "Throttling detector is already running (pid=%s)" ${pid}
410 log INFO "Started GPU throttling detector (pid=%s)" ${pid}
413 log WARN "Failed to write throttle detector PID file"
463 log ERROR "Failed to read CPU freq info from: %s" "${path}"
469 log ERROR "Got empty CPU freq info from: %s" "${path}"
501 log ERROR "Cannot set CPU freq to invalid value: %s" "$1"
505 log ERROR "Cannot set CPU freq to unspecified value"
509 log ERROR "Cannot set CPU freq to custom value; use +, -, or % instead"
533 log ERROR "Invalid CPU freq"
540 log INFO "Setting intel_pstate max perf to %s" "${target_freq}%"
543 log ERROR "Failed to set intel_pstate max perf"
555 log INFO "Setting CPU%s max scaling freq to %s Hz" ${cpu_index} "${target_freq}"
561 log ERROR "Failed to set CPU%s max scaling frequency" ${cpu_index}
741 log INFO "No Intel GPU detected"
753 log INFO "Entering frequency monitoring mode"