mbox series

[v8,0/5] tracing: Creation of event probe

Message ID 20210819152604.704335282@goodmis.org (mailing list archive)
Headers show
Series tracing: Creation of event probe | expand

Message

Steven Rostedt Aug. 19, 2021, 3:26 p.m. UTC
V7 Link: https://lore.kernel.org/linux-trace-devel/20210819041321.105110033@goodmis.org/

Changes from v7:

I moved the patches that have been acked by Masami into my linux-next queue
and removed them from this patch series.

I added Masami's patch to check for duplicate events and return a proper
error message about the duplication.

I changed the duplication check in the eprobe code to match Masami's
changes.

I fixed a bug in the removing of dynamic events in the selftest code.

Added a new test to make sure the duplicate events are caught.


Masami Hiramatsu (1):
      tracing/probes: Reject events which have the same name of existing one

Steven Rostedt (VMware) (3):
      selftests/ftrace: Add clear_dynamic_events() to test cases
      selftests/ftrace: Add selftest for testing eprobe events
      selftests/ftrace: Add selftest for testing duplicate eprobes and kprobes

Tzvetomir Stoyanov (VMware) (1):
      tracing: Add a probe that attaches to trace events

----
 include/linux/trace_events.h                       |   4 +
 kernel/trace/Makefile                              |   1 +
 kernel/trace/trace.c                               |   5 +-
 kernel/trace/trace.h                               |  18 +
 kernel/trace/trace_eprobe.c                        | 903 +++++++++++++++++++++
 kernel/trace/trace_events_trigger.c                |  14 +-
 kernel/trace/trace_kprobe.c                        |  14 +-
 kernel/trace/trace_probe.c                         |  41 +-
 kernel/trace/trace_probe.h                         |   7 +-
 kernel/trace/trace_uprobe.c                        |   6 +-
 .../ftrace/test.d/dynevent/add_remove_eprobe.tc    |  53 ++
 .../ftrace/test.d/dynevent/test_duplicates.tc      |  28 +
 tools/testing/selftests/ftrace/test.d/functions    |  22 +
 13 files changed, 1101 insertions(+), 15 deletions(-)
 create mode 100644 kernel/trace/trace_eprobe.c
 create mode 100644 tools/testing/selftests/ftrace/test.d/dynevent/add_remove_eprobe.tc
 create mode 100644 tools/testing/selftests/ftrace/test.d/dynevent/test_duplicates.tc