Skip to content

trace-cruncher: Add support for event probes

Tzvetomir Stoyanov (VMware) linux-trace-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyIn review
  2. v22 patches 0 repliesSuperseded
  3. v11 patch 1 replySuperseded

Changes in v3 from the cover letter

- Added eporbe example.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3trace-cruncher: Add support for event probessrc/ftracepy-utils.c src/ftracepy-utils.h src/ftracepy.c+39 -00 replies
2/3trace-cruncher: Unit test for event probes APItracecruncher/tests/1_unit/test_01_ftracepy_unit.py+50 -00 replies
3/3trace-cruncher: Example for event probes APIexamples/eprobe.py+29 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] trace-cruncher: Add support for event probes

Event probe (eprobe) is a new type of ftrace dynamic events, introduced in the Linux kernel 5.15 version. It is useful to have support for them in trace-cruncher, as it allows more flexibility when printing event's data.

v3 changes:
- Added eporbe example.
v2 changes:
- Rebase.
- Moved unit test in a separate patch.
- Added a check in the unit test if the kernel supports eprobes.
- Renamed the API from PyFtrace_register_eprobe() to PyFtrace_eprobe(), for consistency with the other dynamic events APIs.

Tzvetomir Stoyanov (VMware) (3):
trace-cruncher: Add support for event probes
trace-cruncher: Unit test for event probes API
trace-cruncher: Example for event probes API

 examples/eprobe.py                            | 29 +++++++++++
 src/ftracepy-utils.c                          | 32 ++++++++++++
 src/ftracepy-utils.h                          |  2 +
 src/ftracepy.c                                |  5 ++
 .../tests/1_unit/test_01_ftracepy_unit.py     | 50 +++++++++++++++++++
 5 files changed, 118 insertions(+)
 create mode 100755 examples/eprobe.py
Signature · 1 line
2.34.1