Skip to content

tracing: Fix some selftest issues

Masami Hiramatsu (Google) linux-trace-kernel lkml 1 version In review

Get series with b4
b4 am 171671825710.39694.6859036369216249956.stgit@devnote2

Versions newest first

  1. v1 Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tracing: Build event generation tests only as moduleskernel/trace/Kconfig+2 -20 replies
2/3tracing/kprobe: Remove unneeded WARN_ON_ONCE() in selftestskernel/trace/trace_kprobe.c+13 -130 replies
3/3tracing/kprobe: Remove cleanup code unrelated to selftestkernel/trace/trace_kprobe.c+0 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] tracing: Fix some selftest issues

Hi,

Here is a series of some fixes/improvements for the test modules and boot time selftest of kprobe events. I found a WARNING message with some boot time selftest configuration, which came from the combination of embedded kprobe generate API tests module and ftrace boot-time selftest. So the main problem is that the test module should not be built-in. But I also think this WARNING message is useless (because there are warning messages already) and the cleanup code is redundant. This series fixes those issues.

Thank you,

---

Masami Hiramatsu (Google) (3):
tracing: Build event generation tests only as modules tracing/kprobe: Remove unneeded WARN_ON_ONCE() in selftests tracing/kprobe: Remove cleanup code unrelated to selftest

 kernel/trace/Kconfig        |    4 ++--
 kernel/trace/trace_kprobe.c |   29 ++++++++++++-----------------
 2 files changed, 14 insertions(+), 19 deletions(-)

--
Masami Hiramatsu (Google) <[email protected]>