Skip to content

Limit on the number of namespaces for perfetto categories #1053

Closed Answered by ddiproietto
metaadrianstone asked this question in Q&A
Discussion options

You must be logged in to vote

Due to the use of thread local storage is not a good idea to increase kMaxDataSources to more that 32 in upstream perfetto. It will use too much thread_local space, which I believe ultimately reduces available stack space on most platforms.

We can however decouple the number of namespaces from kMaxDataSources. This is what https://r.android.com/3431685 is doing (the CL was started to fix a different problem, but it should also fix this).

I hope we can merge it in the following weeks, stay tuned

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@metaadrianstone
Comment options

Answer selected by LalitMaganti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants