[PATCH] debug: print from where protocol message originated
Tiago Vignatti
tiago.vignatti at linux.intel.com
Tue Apr 3 07:04:11 PDT 2012
On 03/28/2012 12:16 AM, Tiago Vignatti wrote:
> In times where Weston and client shells are started at the same time, this
> makes debugging much more effective. It's [S] for server and [C] for clients,
> so now you will see something like this:
>
> [4231274.870][C] -> wl_display at 1.sync(new id 10)
> [4231275.040][S] wl_drm at 9.authenticate(27)
> [4231275.189][S] -> wl_drm at 9.authenticated()
> [4231275.279][S] wl_display at 1.sync(new id 10)
> [4231275.391][S] -> wl_callback at 10.done(0)
> [4231275.503][S] -> wl_display at 1.delete_id(10)
> [4231275.653][C] wl_drm at 9.authenticated()
>
> Signed-off-by: Tiago Vignatti<tiago.vignatti at intel.com>
ping Kristian? I found this quite useful for debugging lately the
tablet-shell work and the xserver now. What do you think?
Tiago
More information about the wayland-devel
mailing list