Function report |
Source Code:arch\x86\kernel\hw_breakpoint.c |
Create Date:2022-07-28 07:45:35 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Encode the length, type, Exact, and Enable bits for a particular breakpoint* as stored in debug register 7.
Proto:unsigned long encode_dr7(int drnum, unsigned int len, unsigned int type)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
int | drnum | |
unsigned int | len | |
unsigned int | type |
68 | Return __encode_dr7(drnum, len, type) | Global slow the pipeline |
Name | Describe |
---|---|
arch_install_hw_breakpoint | 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 |
aout_dump_debugregs | Dump the debug register contents to the user.* We can't dump our per cpu values because it* may contain cpu wide breakpoint, something that* doesn't belong to the current task.* TODO: include non-ptrace user breakpoints (perf) |
ptrace_get_dr7 | Walk through every ptrace breakpoints for this thread and* build the dr7 value on top of their attributes. |
kgdb_correct_hw_break | |
kgdb_remove_all_hw_break | |
kgdb_disable_hw_debug | kgdb_disable_hw_debug - Disable hardware debugging while we in kgdb.*@regs: Current &struct pt_regs.* This function will be called if the particular architecture must* disable hardware debugging while it is processing gdb packets or* handling exception. |
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 |