intel/mda: Add code to produce mesa debug archives

Uses the tar format to collect multiple output files.  It can
be inspected using the regular UNIX tools, but a later commit
will add a specialized tool to perform common tasks.

The tar implementation is enough to fulfill the current needs
without adding a dependency.  There's also a small test mostly
to ensure scaffolding is there in case we need to expand the
implementation.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29146>
This commit is contained in:
Caio Oliveira
2023-06-09 23:54:51 -07:00
parent 186cd59cf2
commit bccc0fa984
12 changed files with 1202 additions and 0 deletions

1
.gitignore vendored
View File

@@ -6,3 +6,4 @@
*.out
/build
.venv/
*.mda.tar