weston_10.0_aglcore: Add helper iterator to loop over debug scopes
This is helpful for users to list the available scopes, that other
compoments of libweston subscribed to.
Bug-AGL: SPEC-4593
Change-Id: Idec02efe997104f6af8164281eee0f2e46f996bf
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28804
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>