函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\kdb\kdb_bp.c Create Date:2022-07-27 12:48:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:void kdb_bp_install(struct pt_regs *regs)

返回类型:void

参数:

类型参数名称
struct pt_regs *regs
178 i小于KDB_MAXBPT describes the total number of breakpoints* supported by this architecure.循环
179  bp等于Table of kdb_breakpoints[i]
181  如果KDB_DEBUG(BP)则
182  kdb_printf("%s: bp %d bp_enabled %d\n", __func__, i, Breakpoint is active in register )
185  如果 Breakpoint is active in register _kdb_bp_install(regs, bp)
调用者
名称描述
kdb_stub