tracing/probes: Support tracepoint events on modules
Get series with b4
b4 am 172397776900.286558.8986646398199362026.stgit@devnote2Versions newest first · linked by author and title
- v3 Latest5 patches 1 replyIn review
- v23 patches 9 repliesSuperseded
- v11 patch 1 replySuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | tracepoint: Support iterating over tracepoints on modulesinclude/ kernel/ | +28 | 0 replies | |
| 2/5 | tracepoint: Support tterating tracepoints in a loading moduleinclude/ kernel/ | +44 | 1 reply | |
| 3/5 | tracing/fprobe: Support raw tracepoint events on moduleskernel/ | +38 | 0 replies | |
| 4/5 | tracing/fprobe: Support raw tracepoints on future loaded moduleskernel/ tools/ | +101 | 0 replies | |
| 5/5 | sefltests/tracing: Add a test for tracepoint events on modulestools/ tools/ | +62 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/5] tracing/probes: Support tracepoint events on modules
Hi,
This is the 3rd version of the raw tracepoint events on modules. The previous version is here;
https://lore.kernel.org/all/[email protected]/
This version supports tracepoint event on unloaded modules according to Mathies' suggestion ([2/5],[4/5] and part of [5/5]) . The concern about blocking module unload by instrumentation is TBD.
Note, to support tracepoints in the unloaded modules, tracepoint event can not check the given tracepoint is really defined or not. So unless CONFIG_MODULES=n, it does not check the tracepoint existence. IOW, user can specify any tracepoint name for tracepoint events. It will be just ignored.
You can download this series from;
https://git.kernel.org/pub/scm/linux/kernel/git/mhiramat/linux.git topic/tprobe-on-module
Thank you,
---
Masami Hiramatsu (Google) (5):
tracepoint: Support iterating over tracepoints on modules
tracepoint: Support tterating tracepoints in a loading module tracing/fprobe: Support raw tracepoint events on modules tracing/fprobe: Support raw tracepoints on future loaded modules sefltests/tracing: Add a test for tracepoint events on modules
include/linux/tracepoint.h | 20 ++ kernel/trace/trace_fprobe.c | 179 +++++++++++++++----- kernel/tracepoint.c | 42 +++++ tools/testing/selftests/ftrace/config | 1 .../test.d/dynevent/add_remove_tprobe_module.tc | 61 +++++++ .../ftrace/test.d/dynevent/tprobe_syntax_errors.tc | 1 6 files changed, 254 insertions(+), 50 deletions(-) create mode 100644 tools/testing/selftests/ftrace/test.d/dynevent/add_remove_tprobe_module.tc
--
Masami Hiramatsu (Google) <[email protected]>