Adaptation to the vperfetto interface changed

liu cong requested to merge liucong2/virglrenderer:fix-vperfetto into master

when enable tracing with perfetto backend, it print the following error message:

validateConfig: Error: No tracing statechange callback specified. vperfetto_min_startTracing: Not enabling tracing, config was invalid.

it caused by the vperfetto interface change, commit 39ec17a1e5cd ( Interface Change: For performance, require a tracing state change callback)

Signed-off-by: Cong Liu Reviewed-by: Ming Xie

Merge request reports