Skip to content

tracing: Fix some selftest issues

Masami Hiramatsu (Google) linux-trace-kernel lkml 2 versions – In review

Get series with b4
b4 am 171811262833.85078.12421348187962271050.stgit@devnote2

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v13 patches 6 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tracing: Build event generation tests only as moduleskernel/trace/Kconfig+2 -20 replies
2/3tracing/kprobe: Integrate test warnings into WARN_ONCEkernel/trace/trace_kprobe.c+19 -351 reply
3/3tracing/kprobe: Remove cleanup code unrelated to selftestkernel/trace/trace_kprobe.c+0 -42 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSteven Rostedt (Google)
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

Hi,

Here is v3 of a series of some fixes/cleanups for the test modules and boot time selftest of kprobe events. The previous version is here;

https://lore.kernel.org/all/171805478534.52471.6269290579314514778.stgit@devnote2/

In this version, I updated the 2nd patch to integrate WARN_ON_ONCE() and pr_warn() instead of removing WARN_ONCE() because this warning messages are needed to ktest to handle errors.

Thank you,

---

Masami Hiramatsu (Google) (3):
tracing: Build event generation tests only as modules tracing/kprobe: Integrate test warnings into WARN_ONCE tracing/kprobe: Remove cleanup code unrelated to selftest

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

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