函数逻辑报告 |
Source Code:kernel\debug\kdb\kdb_io.c |
Create Date:2022-07-27 12:44:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kdb_printf
函数原型:int kdb_printf(const char *fmt, ...)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | fmt |
850 | r等于vkdb_printf( direct call to kdb_printf() , fmt, ap) |
853 | 返回:r |
名称 | 描述 |
---|---|
kdb_send_sig | kdb_send_sig - Allows kdb to send signals without exposing* signal internals. This function checks if the required locks are* available before calling the main signal code, to avoid kdb* deadlocks. |
kdb_dump_stack_on_cpu | |
kgdb_panic | |
kgdb_transition_check | |
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 |
kdb_getstr | kdb_getstr* Print the prompt string and read a command from the* input device.* Parameters:* buffer Address of buffer to receive command* bufsize Size of buffer in bytes* prompt Pointer to string to use as prompt string* Returns: |
vkdb_printf | |
kdb_set | kdb_set - This function implements the 'set' command. Alter an* existing environment variable or create a new one. |
kdb_check_regs | |
kdb_cmderror | |
kdb_defcmd2 | |
kdb_defcmd | |
kdb_exec_defcmd | Forward references |
parse_grep | The "str" argument may point to something like | grep xyz |
kdb_parse | |
kdb_reboot | kdb_reboot - This function implements the 'reboot' command. Reboot* the system immediately, or loop for ever on failure. |
kdb_dumpregs | |
kdb_local | kdb_local - The main code for kdb |
kdb_print_state | kdb_print_state - Print the state data for the current processor* for debugging.* Inputs:* text Identifies the debug point* value Any integer value to be printed, e.g. reason code. |
kdb_main_loop | kdb_main_loop - After initial setup and assignment of the* controlling cpu, all cpus are in this loop |
kdb_mdr | kdb_mdr - This function implements the guts of the 'mdr', memory* read command.* mdr |
kdb_md_line | kdb_md - This function implements the 'md', 'md1', 'md2', 'md4',* 'md8' 'mdr' and 'mds' commands.* md|mds [ |
kdb_md | |
kdb_mm | kdb_mm - This function implements the 'mm' command.* mm address-expression new-value* Remarks:* mm works on machine words, mmW works on bytes. |
kdb_go | kdb_go - This function implements the 'go' command.* go [address-expression] |
kdb_rm | kdb_rm - This function implements the 'rm' (register modify) command.* rm register-name new-contents* Remarks:* Allows register modification with the same restrictions as gdb |
kdb_lsmod | kdb_lsmod - This function implements the 'lsmod' command. Lists* currently loaded kernel modules.* Mostly taken from userland lsmod. |
kdb_env | kdb_env - This function implements the 'env' command. Display the* current environment variables. |
kdb_dmesg | kdb_dmesg - This function implements the 'dmesg' command to display* the contents of the syslog buffer.* dmesg [lines] [adjust] |
kdb_cpu_status | kdb_cpu - This function implements the 'cpu' command.* cpu [ |
kdb_ps_suppressed | The user may not realize that ps/bta with no parameters does not print idle* or sleeping system daemon processes, so tell them how many were suppressed. |
kdb_ps1 | kdb_ps - This function implements the 'ps' command which shows a* list of the active processes.* ps [DRSTCZEUIMA] All processes, optionally filtered by state |
kdb_ps | |
kdb_pid | kdb_pid - This function implements the 'pid' command which switches* the currently active process.* pid [ |
kdb_help | kdb_help - This function implements the 'help' and '?' commands. |
kdb_kill | kdb_kill - This function implements the 'kill' commands. |
kdb_summary | kdb_summary - This function implements the 'summary' command. |
kdb_per_cpu | kdb_per_cpu - This function implements the 'per_cpu' command. |
kdb_grep_help | display help for the use of cmd | grep pattern |
kdb_register_flags | |
kdb_cmd_init | Execute any commands defined in kdb_cmds. |
kdbgetsymval | kdbgetsymval - Return the address of the given symbol |
kdbnearsym | kdbnearsym - Return the name of the symbol with the nearest address* less than 'addr' |
kdb_symbol_print | kdb_symbol_print - Standard method for printing a symbol name and offset |
kdb_getarea_size | kdb_getarea_size - Read an area of data. The kdb equivalent of* copy_from_user, with kdb messages for invalid addresses.* Inputs:* res Pointer to the area to receive the result.* addr Address of the area to copy.* size Size of the area.* Returns: |
kdb_putarea_size | kdb_putarea_size - Write an area of data. The kdb equivalent of* copy_to_user, with kdb messages for invalid addresses.* Inputs:* addr Address of the area to write to.* res Pointer to the area holding the data.* size Size of the area.* Returns: |
kdb_getphysword | kdb_getphysword* Inputs:* word Pointer to the word to receive the result.* addr Address of the area to copy.* size Size of the area.* Returns:* 0 for success, < 0 for error. |
kdb_getword | kdb_getword - Read a binary value. Unlike kdb_getarea, this treats* data as numbers.* Inputs:* word Pointer to the word to receive the result.* addr Address of the area to copy.* size Size of the area.* Returns:* 0 for success, < 0 for error. |
kdb_putword | kdb_putword - Write a binary value. Unlike kdb_putarea, this* treats data as numbers.* Inputs:* addr Address of the area to write to..* word The value to set.* size Size of the area.* Returns:* 0 for success, < 0 for error. |
kdb_task_state_string | |
kdb_print_nameval | kdb_print_nameval - Print a name and its value, converting the* value to a symbol lookup if possible.* Inputs:* name field name to print* val value of field |
debug_kusage | |
kdb_bt1 | kdb_bt* This function implements the 'bt' command |
kdb_bt_cpu | |
kdb_bt | |
kdb_handle_bp | |
_kdb_bp_install | |
kdb_bp_install | kdb_bp_install* Install kdb_breakpoints prior to returning from the* kernel debugger. This allows the kdb_breakpoints to be set* upon functions that are used internally by kdb, such as* printk(). This function is only called once per kdb session. |
kdb_bp_remove | kdb_bp_remove* Remove kdb_breakpoints upon entry to the kernel debugger.* Parameters:* None.* Outputs:* None.* Returns:* None.* Locking:* None.* Remarks: |
kdb_printbp | kdb_printbp* Internal function to format and print a breakpoint entry.* Parameters:* None.* Outputs:* None.* Returns:* None.* Locking:* None.* Remarks: |
kdb_bp | kdb_bp* Handle the bp commands |
kdb_bc | kdb_bc* Handles the 'bc', 'be', and 'bd' commands* [bd|bc|be] |
kdb_get_kbd_char | Check if the keyboard controller has a keypress for us.* Some parts (Enter Release, LED change) are still blocking polled here,* but hopefully they are all short. |
ftrace_dump_buf |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |