From: Roberto Jung Drebes <drebes@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Fault injection capability not exported
Date: Fri, 14 Dec 2007 15:09:22 +0900 [thread overview]
Message-ID: <755EFE0F-D503-4DD7-9FEC-277DDD5FB097@gmail.com> (raw)
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@gmail.com>
http://dorebesu.blogspot.com/
reply other threads:[~2007-12-14 6:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=755EFE0F-D503-4DD7-9FEC-277DDD5FB097@gmail.com \
--to=drebes@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®