[<prev] [next>] [day] [month] [year] [list]
Message-Id: <755EFE0F-D503-4DD7-9FEC-277DDD5FB097@gmail.com>
Date: Fri, 14 Dec 2007 15:09:22 +0900
From: Roberto Jung Drebes <drebes@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Fault injection capability not exported
Hello there,
I want to use the fault injection capability infrastructure to
implement a simple fault injector which I can use in one of my
modules. But when trying to call init_fault_attr_dentries (*), I got
an undefined warning and noticed that this symbol is not exported even
when CONFIG_FAULT_INJECTION and CONFIG_FAULT_INJECTION_DEBUG_FS are
defined.
Then, I checked the implementation of the framework in lib/fault-
injection.c and noticed that, really, it doesn't export any symbol.
Is the infrastructure unavailable to be used by kernel modules?
(*) I noticed some inconsistencies in the documentation, like calling
the init function as init_fault_attr_entries instead of
init_fault_attr_dentries. I can submit an updated documentation after
I can make it work.
Please CC me any reply,
Thanks in advance,
--
Roberto Jung Drebes - Tokyo, Japan
<drebes@...il.com>
http://dorebesu.blogspot.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists