linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] trace-cruncher: Add support for event probes
@ 2022-01-27  6:09 Tzvetomir Stoyanov (VMware)
  2022-01-27  6:09 ` [PATCH v2 1/2] " Tzvetomir Stoyanov (VMware)
  2022-01-27  6:09 ` [PATCH v2 2/2] trace-cruncher: Unit test for event probes API Tzvetomir Stoyanov (VMware)
  0 siblings, 2 replies; 3+ messages in thread
From: Tzvetomir Stoyanov (VMware) @ 2022-01-27  6:09 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.

v2 changes:
 - 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) (2):
  trace-cruncher: Add support for event probes
  trace-cruncher: Unit test for event probes API

 src/ftracepy-utils.c                          | 32 ++++++++++++
 src/ftracepy-utils.h                          |  2 +
 src/ftracepy.c                                |  5 ++
 .../tests/1_unit/test_01_ftracepy_unit.py     | 50 +++++++++++++++++++
 4 files changed, 89 insertions(+)

-- 
2.34.1


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

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

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

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