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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user