linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] trace-cruncher: Add support for event probes
@ 2022-01-27  7:01 Tzvetomir Stoyanov (VMware)
  2022-01-27  7:01 ` [PATCH v3 1/3] " Tzvetomir Stoyanov (VMware)
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Tzvetomir Stoyanov (VMware) @ 2022-01-27  7:01 UTC (permalink / raw)
  To: y.karadz; +Cc: linux-trace-devel

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

-- 
2.34.1


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

end of thread, other threads:[~2022-01-27 10:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-27  7:01 [PATCH v3 0/3] trace-cruncher: Add support for event probes Tzvetomir Stoyanov (VMware)
2022-01-27  7:01 ` [PATCH v3 1/3] " Tzvetomir Stoyanov (VMware)
2022-01-27  7:01 ` [PATCH v3 2/3] trace-cruncher: Unit test for event probes API Tzvetomir Stoyanov (VMware)
2022-01-27  7:01 ` [PATCH v3 3/3] trace-cruncher: Example " Tzvetomir Stoyanov (VMware)
2022-01-27 10:45 ` [PATCH v3 0/3] trace-cruncher: Add support for event probes Yordan Karadzhov

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).