Add new targeted error injection tool
bpf_override_return is a very powerful mechanism for error injection,
with the caveat that it requires whitelisting of the functions to be
overriden.
inject.py will take a call chain and optional set of predicates as
input, and inject the appropriate error when both the call chain and all
predicates are satisfied.
Signed-off-by: Howard McLauchlan <hmclauchlan@fb.com>
Showing
man/man8/inject.8
0 → 100644
tools/inject.py
0 → 100755
This diff is collapsed.
tools/inject_example.txt
0 → 100644
Please register or sign in to comment