lima: Rotate dump files after each finished pp frame
authorAndreas Baierl <ichgeh@imkreisrum.de>
Thu, 19 Dec 2019 21:17:45 +0000 (22:17 +0100)
committerAndreas Baierl <ichgeh@imkreisrum.de>
Thu, 19 Dec 2019 22:53:22 +0000 (23:53 +0100)
This rotates the dump files like the mali-syscall-tracker does.

After each finished pp frame a new file is generated. They are
numbered like lima.dump.0000, lima.dump.0001 ...
The filename and path can be given with the new environment
variable LIMA_DUMP_FILE.

Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Andreas Baierl <ichgeh@imkreisrum.de>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3175>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3175>


No differences found