[PATCH v2 0/4] New tracefs APIs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Two new library APIs are proposed, to provide a missing functionality:
 tracefs_dynevent_get_event()
 tracefs_event_apply_filter()

v2 changes:
 - Typo and coding style fixes.
 - Improved logic for dynamic events loading into tep handle - avoid
   duplications.
 - Added a check to tracefs_dynevent_get_event() to not return tep event for
   removed dynamic events.

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 | 13 +++++-
 Documentation/libtracefs-filter.txt    | 12 +++++-
 include/tracefs-local.h                |  5 +++
 include/tracefs.h                      |  7 +++
 src/tracefs-dynevents.c                | 33 ++++++++++++++
 src/tracefs-events.c                   | 26 +++++++++--
 src/tracefs-filter.c                   | 18 ++++++++
 utest/tracefs-utest.c                  | 60 ++++++++++++++++++--------
 8 files changed, 148 insertions(+), 26 deletions(-)

-- 
2.33.1




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux