Function report |
Source Code:lib\dynamic_debug.c |
Create Date:2022-07-28 07:15:55 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Allocate a new ddebug_table for the given module* and add it to the global list.
Proto:int ddebug_add_module(struct _ddebug *tab, unsigned int n, const char *name)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct _ddebug * | tab | |
| unsigned int | n | |
| const char * | name |
| 888 | dt = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
| 889 | If (dt == NULL) Then |
| 900 | num_ddebugs = n |
| 903 | mutex_lock( & ddebug_lock) |
| 905 | mutex_unlock( & ddebug_lock) |
| 908 | Return 0 |
| Name | Describe |
|---|---|
| dynamic_debug_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 |