andikleen / pmu-tools

Intel PMU profiling tools
GNU General Public License v2.0
1.98k stars 331 forks source link

Handle perf reordering slots #457

Closed andikleen closed 1 year ago

andikleen commented 1 year ago

Newer perf (6.3+) can reorder the slots events from the middle of groups to the beginning. This leads to toplev "corrupted input" errors. toplev should always put slots events at the beginning of groups. toplev already does this for metrics, but not when slots is used without metrics.

andikleen commented 1 year ago

Fixed in toplev