Function report |
Source Code:kernel\livepatch\transition.c |
Create Date:2022-07-28 10:31:55 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Determine whether the given stack trace includes any references to a* to-be-patched or to-be-unpatched function.
Proto:static int klp_check_stack_func(struct klp_func *func, unsigned long *entries, unsigned int nr_entries)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct klp_func * | func | |
| unsigned long * | entries | |
| unsigned int | nr_entries |
| 200 | When i < nr_entries cycle |
| 235 | Return 0 |
| Name | Describe |
|---|---|
| klp_check_stack | Determine whether it's safe to transition the task to the target patch state* by looking for any to-be-patched or to-be-unpatched functions on its stack. |
| 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 |