Skip to content

tracing: Creation of event probe

Steven Rostedt linux-kselftest linux-trace-devel lkml stable 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest6 patches 5 repliesIn review
  2. v85 patches 6 repliesSuperseded
  3. v710 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v67 patches12 repliesSuperseded
v12 patches2 repliesSuperseded

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6tracing: Add a probe that attaches to trace eventsinclude/linux/trace_events.h kernel/trace/Makefile kernel/trace/trace.c +6 more+962 -130 replies
2/6selftests/ftrace: Add clear_dynamic_events() to test casestools/testing/selftests/ftrace/test.d/functions+22 -00 replies
3/6selftests/ftrace: Fix requirement check of README filetools/testing/selftests/ftrace/test.d/functions+1 -11 reply
4/6selftests/ftrace: Add test case to test adding and removing of event probetools/testing/selftests/ftrace/test.d/dynevent/add_remove_eprobe.tc+40 -01 reply
5/6selftests/ftrace: Add selftest for testing eprobe events on synthetic eventstools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-eprobe.tc+53 -01 reply
6/6selftests/ftrace: Add selftest for testing duplicate eprobes and kprobestools/testing/selftests/ftrace/test.d/dynevent/test_duplicates.tc+38 -02 replies

Reviews trailers per patch

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

PatchMasami Hiramatsu
1/6A-b
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6A-b

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

Read the v9 thread

Cover letter [PATCH v9 0/6] tracing: Creation of event probe

V8 Link: https://lore.kernel.org/linux-trace-devel/[email protected]/

Changes from v8:

Found and fixed a bug in the selftests that check the README file. I was testing that requirement with eprobes, and found that it was not flagging it as not added. Found the reason, and fixed it.

Changed the selftest for add/remove of the eprobe to just add test and remove it.

Moved the selftest that added a eprobe to a synthetic event into the trigger tests.

Have the "testing duplicate" not test kprobes if kprobes are not configured in.

Steven Rostedt (VMware) (5):
selftests/ftrace: Add clear_dynamic_events() to test cases selftests/ftrace: Fix requirement check of README file selftests/ftrace: Add test case to test adding and removing of event probe selftests/ftrace: Add selftest for testing eprobe events on synthetic 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                        |   8 -
 kernel/trace/trace_probe.c                         |  16 +-
 kernel/trace/trace_probe.h                         |   6 +-
 .../ftrace/test.d/dynevent/add_remove_eprobe.tc    |  40 +
 .../ftrace/test.d/dynevent/test_duplicates.tc      |  38 +
 tools/testing/selftests/ftrace/test.d/functions    |  24 +-
 .../inter-event/trigger-synthetic-eprobe.tc        |  53 ++
 13 files changed, 1116 insertions(+), 14 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
 create mode 100644 tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-eprobe.tc