libweston: add weston_debug API and implementation
authorPekka Paalanen <pq@iki.fi>
Thu, 12 Oct 2017 11:13:42 +0000 (13:13 +0200)
committerDaniel Stone <daniels@collabora.com>
Mon, 17 Sep 2018 12:29:23 +0000 (13:29 +0100)
commita5630eafec4f139adf1da4a5ba54894715d7b50f
treebbd399567fc00f316d04b0725053943e52ecdfef
parent4fc1ee8d5b5c2a66fcc1a5bafad3eb95c3759bac
libweston: add weston_debug API and implementation

weston_debug is both a libweston API for relaying debugging messages,
and the compositor-debug wayland protocol implementation for accessing those
debug messages from a Wayland client.

weston_debug_compositor_{create,destroy}() are private API, hence not
exported.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
append the debug scope name along with the timestamp in
weston_debug_scope_timestamp API

Signed-off-by: Maniraj Devadoss <Maniraj.Devadoss@in.bosch.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Add explicit advertisement of debug scope names.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Emre Ucan <eucan@de.adit-jv.com>
Makefile.am
libweston/compositor.c
libweston/compositor.h
libweston/weston-debug.c [new file with mode: 0644]
libweston/weston-debug.h [new file with mode: 0644]