Function report |
Source Code:arch\x86\kernel\kgdb.c |
Create Date:2022-07-28 08:40:42 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hw_break_reserve_slot
Proto:static int hw_break_reserve_slot(int breakno)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | breakno |
| 229 | cnt = 0 |
| 232 | If dbg_is_early Then Return 0 |
| 235 | for_each_online_cpu(cpu) |
| 236 | cnt++ |
| 237 | pevent = per_cpu_ptr(pev, cpu) |
| 242 | Return 0 |
| 244 | fail : |
| 245 | for_each_online_cpu(cpu) |
| 246 | cnt-- |
| 247 | If Not cnt Then Break |
| 249 | pevent = per_cpu_ptr(pev, cpu) |
| 250 | dbg_release_bp_slot( * pevent) |
| 252 | Return -1 |
| Name | Describe |
|---|---|
| kgdb_set_hw_break |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |