Function report |
Source Code:lib\livepatch\test_klp_shadow_vars.c |
Create Date:2022-07-28 06:38:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Shadow variable wrapper functions that echo the function and arguments* to the kernel log for testing verification. Don't display raw pointers,* but use the ptr_id() value instead.
Proto:static void *shadow_get(void *obj, unsigned long id)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | obj | |
| unsigned long | id |
| 63 | ret = klp_shadow_get() - retrieve a shadow variable data pointer*@obj: pointer to parent object*@id: data identifier* Return: the shadow variable data element, NULL on failure. |
| 68 | Return ret |
| Name | Describe |
|---|---|
| test_klp_shadow_vars_init |
| 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 |