函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kgdb_correct_hw_break

函数原型:static void kgdb_correct_hw_break(void)

返回类型:void

参数:

193 breakno小于Total number of available HW breakpoint registers 循环
197  cpu等于These macros fold the SMP functionality into a single CPU system()
198  如果非enabled则继续下一循环
200  如果dbg_is_early
206  继续下一循环
208  bp等于per_cpu_ptr(pev, cpu)
209  info等于counter_arch_bp(bp)
210  如果disabled不等于1则继续下一循环
212  bp_addr等于addr
213  bp_len等于len
214  bp_type等于type
215  address等于addr
216  len等于len
217  type等于type
218  val等于Install a perf counter breakpoint.* We seek a free debug address register and use it for this* breakpoint. Eventually we enable it in the debug control register.* Atomic: we hold the counter->ctx->lock and we only handle variables
219  如果非valdisabled等于0
222  如果非dbg_is_earlyhw_breakpoint_restore()