perfetto: Increase SMB size

Increase local perfetto shared memory buffer size, to reduce dropped
traces.

Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42013>
This commit is contained in:
Rob Clark 2026-05-28 12:03:16 -07:00 committed by Marge Bot
parent 4adf158aef
commit 1b8a219c54

View file

@ -211,6 +211,7 @@ util_perfetto_init_once(void)
// Connects to the system tracing service
perfetto::TracingInitArgs args;
args.backends = perfetto::kSystemBackend;
args.shmem_size_hint_kb = 2000;
perfetto::Tracing::Initialize(args);
static UtilPerfettoObserver observer;