Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\kdb\kdb_bp.c Create Date:2022-07-28 11:44:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:void kdb_bp_install(struct pt_regs *regs)

Type:void

Parameter:

TypeParameterName
struct pt_regs *regs
178  When i < KDB_MAXBPT describes the total number of breakpoints* supported by this architecure. cycle
179  bp = Table of kdb_breakpoints[i]
181  If KDB_DEBUG(BP) Then
182  kdb_printf("%s: bp %d bp_enabled %d\n", __func__, i, Breakpoint is active in register )
185  If Breakpoint is active in register Then _kdb_bp_install(regs, bp)
Caller
NameDescribe
kdb_stub