[PATCH weston v4 4/9] clients: add weston-debug

Pekka Paalanen ppaalanen at gmail.com
Mon Oct 23 07:17:56 UTC 2017


On Thu, 12 Oct 2017 13:13:44 +0200
Emre Ucan <eucan at de.adit-jv.com> wrote:

> From: Pekka Paalanen <pq at iki.fi>
> 
> A tool for accessing the zcompositor_debug_v1 interface features.
> 
> Installed along weston-info, because it should be potentially useful for
> people running libweston-based compositors.
> 
> Signed-off-by: Pekka Paalanen <pq at iki.fi>
> 
> Added a man page for weston-debug client
> 
> Signed-off-by: Maniraj Devadoss <Maniraj.Devadoss at in.bosch.com>
> ---
>  Makefile.am            |  18 ++-
>  clients/weston-debug.c | 378 +++++++++++++++++++++++++++++++++++++++++++++++++
>  man/weston-debug.man   |  46 ++++++
>  3 files changed, 439 insertions(+), 3 deletions(-)
>  create mode 100644 clients/weston-debug.c
>  create mode 100644 man/weston-debug.man

> diff --git a/clients/weston-debug.c b/clients/weston-debug.c
> new file mode 100644
> index 0000000..fe2fb1c
> --- /dev/null
> +++ b/clients/weston-debug.c

> +int
> +main(int argc, char **argv)
> +{
> +	struct debug_app app = { 0 };

This causes:

/home/pq/git/weston/clients/weston-debug.c:296:9: warning: missing braces around initializer [-Wmissing-braces]
  struct debug_app app = { 0 };

I'll change that to just {}. It was my bad to begin with.

> +	int ret = 0;
> +

Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20171023/428a6ede/attachment.sig>


More information about the wayland-devel mailing list