Function report |
Source Code:kernel\kallsyms.c |
Create Date:2022-07-28 11:00:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Look up a kernel symbol and return it in a text buffer.
Proto:static int __sprint_symbol(char *buffer, unsigned long address, int symbol_offset, int add_offset)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
char * | buffer | |
unsigned long | address | |
int | symbol_offset | |
int | add_offset |
363 | address += symbol_offset |
365 | If Not name Then Return sprintf(buffer, "0x%lx", address - symbol_offset) |
371 | offset -= symbol_offset |
379 | Return len |
Name | Describe |
---|---|
sprint_symbol | sprint_symbol - Look up a kernel symbol and return it in a text buffer*@buffer: buffer to be stored*@address: address to lookup* This function looks up a kernel symbol with @address and stores its name,* offset, size and module name to @buffer if possible |
sprint_symbol_no_offset | sprint_symbol_no_offset - Look up a kernel symbol and return it in a text buffer*@buffer: buffer to be stored*@address: address to lookup* This function looks up a kernel symbol with @address and stores its name* and module name to @buffer if possible |
sprint_backtrace | sprint_backtrace - Look up a backtrace symbol and return it in a text buffer*@buffer: buffer to be stored*@address: address to lookup* This function is for stack backtrace and does the same thing as* sprint_symbol() but with modified/decreased @address |
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 |