I recently noticed that the new reordering design is broken
when it deals with tons of events.
This patchset provides another algorithm to deal with that,
tested without any problem.
And since it involves more frequent flushes, I guess it could
plug nicely with the live mode.
Frederic Weisbecker (2):
perf: Introduce a new "round of buffers read" pseudo event
perf: Provide a new deterministic events reordering algorithm
tools/perf/builtin-record.c | 34 ++++++++++----
tools/perf/util/event.h | 3 +-
tools/perf/util/session.c | 106 +++++++++++++++++++++++++++++++------------
tools/perf/util/session.h | 36 +++++++++------
4 files changed, 123 insertions(+), 56 deletions(-)
--