Function report |
Source Code:lib\fault-inject.c |
Create Date:2022-07-28 07:11:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fail_task
Proto:static bool fail_task(struct fault_attr *attr, struct task_struct *task)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct fault_attr * | attr | |
| struct task_struct * | task |
| 60 | Return in_task() && make_it_fail |
| Name | Describe |
|---|---|
| should_fail | This code is stolen from failmalloc-1.0* http://www.nongnu.org/failmalloc/ |
| 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 |