linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] trace: introduce trace event injection
@ 2019-05-25 16:57 Cong Wang
  2019-05-25 16:57 ` [PATCH 1/4] trace: fold type initialization into tracing_generic_entry_update() Cong Wang
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Cong Wang @ 2019-05-25 16:57 UTC (permalink / raw)
  To: linux-kernel; +Cc: Cong Wang, Steven Rostedt, Ingo Molnar

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.

Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>

---

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

-- 
2.21.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-07-11 17:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-25 16:57 [PATCH 0/4] trace: introduce trace event injection Cong Wang
2019-05-25 16:57 ` [PATCH 1/4] trace: fold type initialization into tracing_generic_entry_update() Cong Wang
2019-05-25 16:58 ` [PATCH 2/4] trace: let filter_assign_type() detect FILTER_PTR_STRING Cong Wang
2019-05-25 16:58 ` [PATCH 3/4] trace: make trace_get_fields() global Cong Wang
2019-05-25 16:58 ` [PATCH 4/4] trace: introduce trace event injection Cong Wang
2019-07-09 19:51   ` Steven Rostedt
2019-07-11 17:09     ` Cong Wang
2019-05-25 22:37 ` [PATCH 0/4] " Steven Rostedt
2019-05-26 20:12   ` Cong Wang
2019-06-10 21:11   ` Cong Wang
2019-06-11  1:12     ` Steven Rostedt
2019-06-18 16:57       ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).