Function report |
Source Code:include\trace\events\power.h |
Create Date:2022-07-28 07:48:04 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:trace_suspend_resume
Proto:static inline void trace_suspend_resume(const char *action, int val, bool start)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | action | |
| int | val | |
| bool | start |
NULL
| Name | Describe |
|---|---|
| thaw_processes | |
| s2idle_enter | |
| suspend_prepare | suspend_prepare - Prepare for entering system sleep state.* Common code run for every system sleep state that can be entered (except for* hibernation). Run suspend notifiers, allocate the "suspend" console and* freeze processes. |
| suspend_enter | suspend_enter - Make the system enter the given sleep state.*@state: System sleep state to enter.*@wakeup: Returns information that the sleep state should not be re-entered.* This function should be called after devices have been suspended. |
| suspend_devices_and_enter | suspend_devices_and_enter - Suspend devices and enter system sleep state.*@state: System sleep state to enter. |
| enter_state | r_state - Do common work needed to enter system sleep state.*@state: System sleep state to enter.* Make sure that no one else is trying to put the system into a sleep state.* Fail if that's not the case. Otherwise, prepare for system suspend, make the |
| create_image | reate_image - Create a hibernation image.*@platform_mode: Whether or not to use the platform driver.* Execute device drivers' "late" and "noirq" freeze callbacks, create a* hibernation image and run the drivers' "noirq" and "early" thaw callbacks. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |