Function report |
Source Code:lib\fault-inject.c |
Create Date:2022-07-28 07:11:33 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:setup_fault_attr() is a helper function for various __setup handlers, so it* returns 0 on error, because that is what __setup handlers do.
Proto:int setup_fault_attr(struct fault_attr *attr, char *str)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct fault_attr * | attr | |
| char * | str |
| 28 | printk(warning conditions "FAULT_INJECTION: failed to parse arguments\n") |
| 30 | Return 0 |
| 33 | probability = probability |
| 35 | atomic_set( & times, times) |
| 36 | atomic_set( & space, space) |
| 38 | Return 1 |
| 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 |