From: Pekka Paalanen
This is better than running Weston with WAYLAND_DEBUG=server:
- It is enabled on demand, no unnecessary flooding and no need to
restart the compositor if debug was enabled.
- It prints client pointers so that messages with different clients can
be seen apart.
TODO: parse
From: Pekka Paalanen
Let users enable the debug protocol extension on the compositor command
line. This allows weston-debug tool to work.
Signed-off-by: Pekka Paalanen
---
compositor/main.c | 7 +++
man/weston.man| 15 +--
2 files changed, 20 insertions(+), 2 deletions(-)
From: Pekka Paalanen
This registers a new weston-debug scope "log" through which one can get
live log output interspersed with possible other debugging prints.
Signed-off-by: Pekka Paalanen
---
compositor/main.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/compo
From: Pekka Paalanen
A tool for accessing the weston_debug_v1 interface features.
Installed along weston-info, because it should be potentially useful for
people running libweston-based compositors.
TODO: add a man page
Signed-off-by: Pekka Paalanen
---
Makefile.am| 13 +-
clien
From: Pekka Paalanen
Write the output of dump_property() out in one log call. When multiple
processes (weston and Xwayland) are writing to the same file, this will
keep the property dump uninterrupted by Xwayland debug prints.
This is also preparation for more development in the same direction.
From: Pekka Paalanen
weston_debug is both a libweston API for relaying debugging messages,
and a Wayland protocol extension implementation for accessing those
debug messages from a Wayland client.
weston_debug_compositor_{create,destroy}() are private API, hence not
exported.
Signed-off-by: Pek
From: Pekka Paalanen
This is preparation for using the weston-debug infrastructure for
WM_DEBUG. dump_property() may be called from different debugging
contexts and often needs to be prefixed with more information.
An alternative to this patch would be to pass in the weston_debug_scope
as an arg
From: Pekka Paalanen
Instead of a compile time choice, offer the XWM debugging messages
through the weston-debug protocol and tool on demand. Users will not
need to recompile weston to get XWM debugging, and it won't flood the
weston log.
The debug scope needs to be initialized in launcher.c for
From: Pekka Paalanen
This is a new debugging extension for non-production environments. The
aim is to replace all build-time choosable debug prints in the
compositor with runtime subscribable debug streams.
Signed-off-by: Pekka Paalanen
---
Makefile.am | 3 ++
protocol/weston-d
From: Pekka Paalanen
Hi,
this is a little something I wrote while being stuck off-line in a hot place
and not having to care about anyone's priorities one bit.
Debug printing has usually been ad hoc weston_log() or even fprintf() calls,
often guarded by #ifdefs which require recompiling if you
10 matches
Mail list logo