Function esp_idf_hal::sys::esp_pm_dump_locks
source ยท pub unsafe extern "C" fn esp_pm_dump_locks(
stream: *mut __sFILE,
) -> i32
Expand description
Dump the list of all locks to stderr
This function dumps debugging information about locks created using esp_pm_lock_create to an output stream.
This function must not be called from an ISR. If esp_pm_lock_acquire/release are called while this function is running, inconsistent results may be reported.
@param stream stream to print information to; use stdout or stderr to print to the console; use fmemopen/open_memstream to print to a string buffer. @return - ESP_OK on success - ESP_ERR_NOT_SUPPORTED if CONFIG_PM_ENABLE is not enabled in sdkconfig