Open batesj opened 3 years ago
Note that with the current static library design of percetto, this isn't a problem. Mesa and virglrenderer, for example, should have their own percetto instance with their own config. That actually works well because those projects can choose perfetto config options based on their own tracing usage patterns.
Implemented (6) to begin with.
@gerddie raised this issue with the current INIT API that once we support a shared library C API it will not work well, because only the first call to init will get to set the config options.
Design alternatives: