Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\debug_core.c Create Date:2022-07-28 11:37:27
Last Modify:2020-03-17 19:04:10 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Weak aliases for breakpoint management,* can be overriden by architectures when needed:

Proto:int __weak kgdb_arch_set_breakpoint(struct kgdb_bkpt *bpt)

Type:int

Parameter:

TypeParameterName
struct kgdb_bkpt *bpt
174  err = probe_kernel_read(): safely attempt to read from a location*@dst: pointer to the buffer that shall take the data*@src: address to read from*@size: size of the data chunk* Safely read from address @src to the buffer at @dst. If a kernel fault
176  If err Then Return err
178  err = probe_kernel_write(): safely attempt to write to a location*@dst: address to write to*@src: pointer to the data that shall be written*@size: size of the data chunk* Safely write to address @dst from the buffer at @src. If a kernel fault
180  Return err
Caller
NameDescribe
kgdb_validate_break_address
dbg_activate_sw_breakpointsSW breakpoint management: