mbox series

[0/4] New tracefs APIs

Message ID 20211130050057.336228-1-tz.stoyanov@gmail.com (mailing list archive)
Headers show
Series New tracefs APIs | expand

Message

Tzvetomir Stoyanov (VMware) Nov. 30, 2021, 5 a.m. UTC
Two new library APIs are proposed, to provide a missing functionality:
 tracefs_dynevent_get_event()
 tracefs_event_apply_filter()

Tzvetomir Stoyanov (VMware) (4):
  libtracefs: Reuse logic for loading events inside the library
  libtracefs: New API for getting dynamic event
  libtracefs: Unit test for tracefs_dynevent_get_event()
  libtracefs: New API for applying filter on event.

 Documentation/libtracefs-dynevents.txt | 15 ++++++-
 Documentation/libtracefs-filter.txt    | 11 ++++-
 include/tracefs-local.h                |  3 ++
 include/tracefs.h                      |  5 +++
 src/tracefs-dynevents.c                | 29 +++++++++++++
 src/tracefs-events.c                   | 11 +++--
 src/tracefs-filter.c                   | 19 +++++++++
 utest/tracefs-utest.c                  | 58 +++++++++++++++++---------
 8 files changed, 125 insertions(+), 26 deletions(-)