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:fail_dump
Proto:static void fail_dump(struct fault_attr *attr)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct fault_attr * | attr |
| 44 | If verbose > 0 && __ratelimit( & ratelimit_state) Then |
| 45 | printk(rmal but significant condition "FAULT_INJECTION: forcing a failure.\nname %pd, interval %lu, probability %lu, space %d, times %d\n", dname, interval, probability, atomic_read( & space), atomic_read( & times)) |
| 51 | If verbose > 1 Then dump_stack() |
| 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 |