intel/perf: add reorder script
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 17 Nov 2020 21:48:51 +0000 (23:48 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 2 Feb 2021 13:25:54 +0000 (13:25 +0000)
commit12ee1ec25e8fd313bc7c3a9898bd3e487b335e9d
tree75593fc7bbc658b85c77d186b97b6254ffc0e7cc
parent404d0f762676547d39f30cca8d4371a81cb6851d
intel/perf: add reorder script

When transitioning the oa-*.xml files from Gputop to IGT, we also had
to deal with a python2->3 transition. Unfortunately the implementation
dependent hash table ordering leaked into the XML files and so things
changed quite a bit.

This script reorders things from the old to the new order in the
existing files.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Marcin Ĺšlusarz <marcin.slusarz@intel.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6518>
src/intel/perf/reorder.py [new file with mode: 0755]