Function report |
Source Code:kernel\debug\kdb\kdb_support.c |
Create Date:2022-07-28 11:43:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kallsyms_symbol_complete* Parameters:* prefix_name prefix of a symbol name to lookup* max_len maximum length that can be returned* Returns:* Number of symbols which match the given prefix
Proto:int kallsyms_symbol_complete(char *prefix_name, int max_len)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
char * | prefix_name | |
int | max_len |
188 | pos = 0 |
190 | number = 0 |
193 | When name = kdb_walk_kallsyms( & pos) cycle |
194 | If strncmp(name, prefix_name, prefix_len) == 0 Then |
197 | If ++number == 1 Then |
201 | ks_namebuf_prev[prev_len] = '\0' |
202 | Continue |
205 | If ks_namebuf[i] != ks_namebuf_prev[i] Then |
213 | If prev_len > prefix_len Then No 3D Now!(prefix_name, ks_namebuf_prev, prev_len + 1) |
215 | Return number |
Name | Describe |
---|---|
kdb_read | kdb_read* This function reads a string of characters, terminated by* a newline, or by reaching the end of the supplied buffer,* from the current kernel debugger console device.* Parameters:* Returns:* Returns a pointer to the buffer containing the received |
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 |