-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -561,6 +561,7 @@ int percetto_init(size_t category_count, | |
|
||
perfetto::TracingInitArgs args; | ||
args.backends = perfetto::kSystemBackend; | ||
args.shmem_size_hint_kb = 32 * 1024; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
gerddie
Author
Contributor
|
||
perfetto::Tracing::Initialize(args); | ||
|
||
return PercettoDataSource::Register() ? 0 : -1; | ||
|
In the latest commit I moved this out to an alternate PERCETTO_INIT_WITH_ARGS macro. However, this is way too big to be the default for virglrenderer (32MB). I think we should stick with the defaults (256KB) for virglrenderer. Not sure why vperfetto_min had it set to 32MB.