compositor: add option to enable weston_debug
Let users enable the compositor debug protocol on the compositor command line. This allows weston-debug tool to work. Signed-off-by: Pekka Paalanen <pq@iki.fi> Signed-off-by: Maniraj Devadoss <Maniraj.Devadoss@in.bosch.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
committed by
Daniel Stone
parent
a5630eafec
commit
771b7cfc11
@@ -133,6 +133,17 @@ If also
|
||||
.B --no-config
|
||||
is given, no configuration file will be read.
|
||||
.TP
|
||||
.BR \-\-debug
|
||||
Enable debug protocol extension
|
||||
.I weston_debug_v1
|
||||
which any client can use to receive debugging messages from the compositor.
|
||||
|
||||
.B WARNING:
|
||||
This is risky for two reasons. First, a client may cause a denial-of-service
|
||||
blocking the compositor by providing an unsuitable file descriptor, and
|
||||
second, the debug messages may expose sensitive information. This option
|
||||
should not be used in production.
|
||||
.TP
|
||||
.BR \-\-version
|
||||
Print the program version.
|
||||
.TP
|
||||
|
||||
Reference in New Issue
Block a user