Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:fail_dump

Proto:static void fail_dump(struct fault_attr *attr)

Type:void

Parameter:

TypeParameterName
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()
Caller
NameDescribe
should_failThis code is stolen from failmalloc-1.0* http://www.nongnu.org/failmalloc/