lkml.org 
[lkml]   [2019]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH 0/7] tracing: Use common error_log with probe events
Date
Hi Tom,

Here is a series of patches which applies common error_log framework to
probe events. While applying it, I found I missed to check some errors
in parser. Also, I made a testcase for this feature (only for kprobe
event side, please make your test for the hist errors too).
Thus I made this as a series which contains some bugfixes (a kind of
hardening), cleanups, and a test besides of the main patch.

Please feel free to pick this series to your series. I think some
bugfixes might be better to push Steve's urgent branch.
Let's talk with Steve.

Oh, note that this series can be applied on your v3 series, except
for [4/5] :)

Thank you,

---

Masami Hiramatsu (7):
tracing/probe: Check maxactive error cases
tracing/probe: Check event name length correctly
tracing/probe: Check the size of argument name and body
tracing/probe: Check event/group naming rule at parsing
tracing/probe: Verify alloc_trace_*probe() result
tracing: Use tracing error_log with probe events
selftests/ftrace: Add error_log testcase for kprobe errors


kernel/trace/trace_kprobe.c | 90 ++++--
kernel/trace/trace_probe.c | 280 +++++++++++++++-----
kernel/trace/trace_probe.h | 76 +++++
kernel/trace/trace_uprobe.c | 43 ++-
.../ftrace/test.d/kprobe/kprobe_syntax_errors.tc | 91 +++++++
5 files changed, 449 insertions(+), 131 deletions(-)
create mode 100644 tools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc

--
Masami Hiramatsu <mhiramat@kernel.org>

\
 
 \ /
  Last update: 2019-03-13 13:29    [W:1.445 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site