Function report | 
Source Code:kernel\kallsyms.c | 
Create Date:2022-07-28 11:00:04 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Expand a compressed symbol data into the resulting uncompressed string,* if uncompressed string is too long (>= maxlen), it will be truncated,* given the offset to where the symbol is in the compressed stream.
Proto:static unsigned int kallsyms_expand_symbol(unsigned int off, char *result, size_t maxlen)
Type:unsigned int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned int | off | |
| char * | result | |
| size_t | maxlen | 
| 60 | skipped_first = 0 | 
| 64 | data = kallsyms_names[off] | 
| 66 | data++ | 
| 79 | tptr = kallsyms_token_table[kallsyms_token_index[ * data]] | 
| 80 | data++ | 
| 81 | len-- | 
| 96 | tail : | 
| 101 | Return off | 
| Name | Describe | 
|---|---|
| kallsyms_lookup_name | Lookup the address for this symbol. Returns 0 if not found. | 
| kallsyms_on_each_symbol | |
| kallsyms_lookup | Lookup an address* - modname is set to NULL if it's in the kernel.* - We guarantee that the returned name is valid until we reschedule even if.* It resides in a module.* - We also guarantee that modname will be valid until rescheduled. | 
| lookup_symbol_name | |
| lookup_symbol_attrs | |
| get_ksymbol_core | Returns space to next name. | 
| 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  |