Function report | 
Source Code:kernel\debug\kdb\kdb_main.c | 
Create Date:2022-07-28 11:41:54 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:kdb_lsmod - This function implements the 'lsmod' command. Lists* currently loaded kernel modules.* Mostly taken from userland lsmod.
Proto:static int kdb_lsmod(int argc, const char **argv)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | argc | |
| const char ** | argv | 
| 2028 | If argc != 0 Then Return KDB_ARGCOUNT | 
| 2031 | kdb_printf("Module Size modstruct Used by\n") | 
| 2033 | If state == Still setting it up. Then Continue | 
| 2036 | kdb_printf("%-20s%8u 0x%px ", Unique handle for this module , Total size. , (void * )mod) | 
| 2041 | If state == Going away. Then kdb_printf(" (Unloading)") | 
| 2043 | Else if state == Full formed, running module_init. Then kdb_printf(" (Loading)") | 
| 2045 | Else kdb_printf(" (Live)") | 
| 2047 | kdb_printf(" 0x%px", The actual code + data. ) | 
| 2061 | Return 0 | 
| 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  |