Re: [PATCH 0/4] trace: introduce trace event injection
From: Steven Rostedt
Date: Sat May 25 2019 - 18:40:32 EST
On Sat, 25 May 2019 09:57:58 -0700
Cong Wang <xiyou.wangcong@xxxxxxxxx> wrote:
> This patchset introduces trace event injection, the first 3 patches
> are some trivial prerequisites, the last one implements the trace
> event injection. Please check each patch for details.
>
> I have tested them with both valid and invalid input on different
> tracepoints, it works as expected.
Hi Cong,
Thanks for sending these patches, but I just want to let you know that
it's currently a US holiday, and then afterward I'll be doing quite a
bit of traveling for the next two weeks. If you don't hear from me in
after two weeks, please send me a reminder.
Thanks!
-- Steve
>
> Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Signed-off-by: Cong Wang <xiyou.wangcong@xxxxxxxxx>
>
> ---
>
> Cong Wang (4):
> trace: fold type initialization into tracing_generic_entry_update()
> trace: let filter_assign_type() detect FILTER_PTR_STRING
> trace: make trace_get_fields() global
> trace: introduce trace event injection
>
> include/linux/trace_events.h | 9 +
> kernel/trace/Makefile | 1 +
> kernel/trace/trace.c | 8 +-
> kernel/trace/trace.h | 1 +
> kernel/trace/trace_event_perf.c | 3 +-
> kernel/trace/trace_events.c | 12 +-
> kernel/trace/trace_events_filter.c | 3 +
> kernel/trace/trace_events_inject.c | 330 +++++++++++++++++++++++++++++
> 8 files changed, 353 insertions(+), 14 deletions(-)
> create mode 100644 kernel/trace/trace_events_inject.c
>