Add debug scope groups
We currently have
weston_debug_v1 interface and the
weston-debug tool. A user chooses what messages he wants to see by the debug scope name.
Assuming that debug scopes become fine-grained, debugging may require grabbing a set of scopes, preferably too many than too few to diagnose bug reports. It will be awkward to list a dozen scope names, some of which might not even exist on the user's system because e.g. he doesn't load a particular plugin. To help with this, debug scope groups are proposed.
A debug scope group has a name. A group name can be used instead of a scope name as
In the compositor, none, one or several debug scopes may be added to a group dynamically at runtime. Subscribing to a group subscribes to all the scopes added to it.
The original idea is here: https://lists.freedesktop.org/archives/wayland-devel/2017-July/034682.html
- How to subscribe each debug scope at most once, if a user defines multiple group and/or scope names in a single
- Should groups be advertised through the same events as scopes?
- Groups should get an automatic human readable description listing which scopes it includes when listed with