函数逻辑报告 |
Source Code:lib\fault-inject.c |
Create Date:2022-07-27 08:09:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:fail_dump
函数原型:static void fail_dump(struct fault_attr *attr)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct fault_attr * | attr |
44 | 如果verbose大于0且__ratelimit( & ratelimit_state)则 |
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 | 如果verbose大于1则dump_stack() |
名称 | 描述 |
---|---|
should_fail | This code is stolen from failmalloc-1.0* http://www.nongnu.org/failmalloc/ |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |