commit | 8f14aa2629dfa88a6d30f11d99673b32147b15ea | [log] [tgz] |
---|---|---|
author | Masami Hiramatsu <mhiramat@kernel.org> | Sat Mar 12 00:49:32 2022 +0900 |
committer | Masami Hiramatsu <mhiramat@kernel.org> | Tue Mar 15 22:22:13 2022 +0900 |
tree | 048988711a2339de0236c16e74fcdc71bc52e03c | |
parent | 8cf14280c3b3460ca3b82a9b1dd8d2bf9779a105 [diff] |
fprobe: Add a selftest for fprobe Add a KUnit based selftest for fprobe interface. Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> --- Changes in v11: - Build selftest only if KUNIT=y. Changes in v9: - Rename fprobe_target* to fprobe_selftest_target*. - Find the correct expected ip by ftrace_location_range(). - Since the ftrace_location_range() is not exposed to module, make this test only for embedded. - Add entry only test. - Reset the fprobe structure before reuse it.