mirror of
https://github.com/brl/mutter.git
synced 2025-02-17 05:44:08 +00:00
profiler: Set 'persistent' state when persistent
This makes sure calling Start() and Stop() doesn't work, since we're always recording. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2846>
This commit is contained in:
parent
81c0cf0834
commit
01353fdc08
@ -219,6 +219,7 @@ meta_profiler_init (MetaProfiler *self)
|
|||||||
cogl_set_tracing_enabled_on_thread (main_context,
|
cogl_set_tracing_enabled_on_thread (main_context,
|
||||||
group_name,
|
group_name,
|
||||||
env_trace_file);
|
env_trace_file);
|
||||||
|
self->persistent = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user