Skip to content

perf: Redesign trace events reordering

Frederic Weisbecker lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf: Introduce a new "round of buffers read" pseudo eventtools/perf/builtin-record.c tools/perf/util/event.h+26 -110 replies
2/2perf: Provide a new deterministic events reordering algorithmtools/perf/util/session.c tools/perf/util/session.h+97 -450 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] perf: Redesign trace events reordering

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