diff options
author | 2023-09-26 09:37:52 +0000 | |
---|---|---|
committer | 2023-09-26 12:45:36 +0000 | |
commit | f0f258882ea0f26338bfc984685db32e98bf70fb (patch) | |
tree | 8b15b2bb6eb15ec01f8c18f3278badd12d662a0d /vulkan/libvulkan/driver.cpp | |
parent | a95ab8ddd9313da8c6b76bec87ee1704c95db865 (diff) |
Fix output stream creation in layertracegenerator
layertracegenerator creates the output layers trace file specifying
std::ios::app (append mode). Meaning, if an output file already exists
layertracegenerator appends the new layers trace to it.
This commit solves the issue replacing std::ios::app with std::ios::out.
Bug: 301539901
Test: execute multiple times \
adb shell layertracegenerator transaction.winscope test.winscope
and make sure the size of test.winscope remains constant \
and doesn't increase after each execution of layertracegenerator
Change-Id: I23bf4e689cee450b055a0451aa0301ce34131739
Diffstat (limited to 'vulkan/libvulkan/driver.cpp')
0 files changed, 0 insertions, 0 deletions