pps: Config tweaks to avoid loosing traces

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28058>
This commit is contained in:
Rob Clark 2024-03-07 14:10:23 -08:00 committed by Marge Bot
parent e1e57ea287
commit 787079e52a

View file

@ -1,3 +1,16 @@
# Enable periodic flushing of the trace buffer into the output file.
write_into_file: true
# Writes the userspace buffer into the file every .5 seconds.
file_write_period_ms: 500
# Commits the trace from the shared memory buffer to the central buffer
# periodically. Otherwise, the --full-sort option will be required for
# trace_processor_shell and traceconv when importing the trace.
flush_period_ms: 2000
duration_ms: 7000
buffers {
size_kb: 65536
fill_policy: DISCARD
@ -146,5 +159,3 @@ producers {
shm_size_kb: 4096
page_size_kb: 4
}
duration_ms: 7000