函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\kgdb.c Create Date:2022-07-27 09:40:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kgdb_arch_set_breakpoint

函数原型:int kgdb_arch_set_breakpoint(struct kgdb_bkpt *bpt)

返回类型:int

参数:

类型参数名称
struct kgdb_bkpt *bpt
734  type等于BP_BREAKPOINT
735  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
737  如果err则返回:err
739  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
741  如果非err则返回:err
747  如果是互斥锁则返回:负EBUSY
749  xt_poke_kgdb - Update instructions on a live kernel by kgdb*@addr: address to modify*@opcode: source of the copy*@len: length to copy* Only atomic text poke/set should be allowed when not doing early patching
751  type等于BP_POKE_BREAKPOINT
753  返回:0