[PATCH wayland v5] Add API to install protocol loggers on the server wl_display

Pekka Paalanen ppaalanen at gmail.com
Fri Aug 12 09:02:52 UTC 2016


On Fri, 12 Aug 2016 09:34:46 +0200
Giulio Camuffo <giuliocamuffo at gmail.com> wrote:

> Ah sorry, i forgot to add Yong's R-b.
> 
> 2016-08-12 9:33 GMT+02:00 Giulio Camuffo <giuliocamuffo at gmail.com>:
> > The new wl_display_add_protocol_logger allows to set a function as
> > a logger, which will get called when a new request is received or an
> > event is sent.
> > This is akin to setting WAYLAND_DEBUG=1, but more powerful because it
> > can be enabled at run time and allows to show the log e.g. in a UI view.
> > A test is added for the new functionality.
> >
> > Signed-off-by: Giulio Camuffo <giulio.camuffo at kdab.com>
> > Reviewed-by: Jonas Ã…dahl <jadahl at gmail.com>
> > ---
> >
> > v5: fixed documentation
> >
> >  Makefile.am                  |   5 +-
> >  src/wayland-server-core.h    |  24 +++++++
> >  src/wayland-server.c         | 102 +++++++++++++++++++++++++++--
> >  tests/protocol-logger-test.c | 148 +++++++++++++++++++++++++++++++++++++++++++
> >  4 files changed, 272 insertions(+), 7 deletions(-)
> >  create mode 100644 tests/protocol-logger-test.c
> >


Added my and Yong R-b and pushed:
   2f61725..450f06e  master -> master


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


More information about the wayland-devel mailing list