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(-) -- 2.30.2