mbox series

[v2,0/4] Iterate over raw events in sorted order

Message ID 20210407034822.2373958-1-tz.stoyanov@gmail.com (mailing list archive)
Headers show
Series Iterate over raw events in sorted order | expand

Message

Tzvetomir Stoyanov (VMware) April 7, 2021, 3:48 a.m. UTC
tracefs_iterate_raw_events(): read oldest events first.
Updated the unit tests and documentation according to the new logic of
the function.

v2 changes:
 - Conding style fixes.
 - Fixed typo in function name.

Tzvetomir Stoyanov (VMware) (4):
  libtracefs: Iterate over raw events in sorted order
  libtracefs: Unit test for iterate over raw events in sorted order
  libtracefs: Unit test for iterate over raw events in selected CPUs
  libtracefs: tracefs_iterate_raw_events() documentation update

 Documentation/libtracefs-events.txt |  14 +-
 src/tracefs-events.c                | 247 ++++++++++++++++++----------
 utest/tracefs-utest.c               |  31 +++-
 3 files changed, 190 insertions(+), 102 deletions(-)