BISECTED: perf test 'Miscellaneous Intel PT' failing on Intel hybrid machines

From: Arnaldo Carvalho de Melo
Date: Tue Apr 09 2024 - 11:35:59 EST


root@x1:~# perf test "Miscellaneous Intel PT testing"
112: Miscellaneous Intel PT testing : FAILED!
root@x1:~#

then I revert:

commit 642e1ac96aaa12aeb41402e68eac7faf5917a67a (HEAD -> perf-tools-next)
Author: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
Date: Tue Apr 9 12:28:49 2024 -0300

Revert "perf pmus: Check if we can encode the PMU number in perf_event_attr.type"

This reverts commit 82fe2e45cdb00de4fa648050ae33bdadf9b3294a.
⬢[acme@toolbox perf-tools-next]$

It works now:

root@x1:~# perf -v
perf version 6.8.g642e1ac96aaa
root@x1:~# perf test "Miscellaneous Intel PT testing"
117: Miscellaneous Intel PT testing : Ok
root@x1:~#

Investigating, if you come up with ideas, lemme know.

- Arnaldo