Function report |
Source Code:lib\error-inject.c |
Create Date:2022-07-28 07:12:20 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:within_error_injection_list
Proto:bool within_error_injection_list(unsigned long addr)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | addr |
| 26 | bool ret = false |
| 28 | mutex_lock( & ei_mutex) |
| 30 | If addr >= start_addr && addr < end_addr Then |
| 31 | ret = true |
| 32 | Break |
| 35 | mutex_unlock( & ei_mutex) |
| 36 | Return ret |
| Name | Describe |
|---|---|
| trace_kprobe_error_injectable |
| 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 |