Re: [RFC wayland 2/2] Add a wayland protocol dumper wayland-tracer

2014-07-20 Thread Marek Chalupa
Hi, nice work! Some time ago I did the same, but didn't want to send it until it's more mature (and haven't got on it since). My version works the very same way, the only difference is that I have 'filters' there. The filter is a function that is called for every data on socket and can be dynamica

Re: [RFC wayland 2/2] Add a wayland protocol dumper wayland-tracer

2014-07-20 Thread Silvan Jegen
Hi and thanks for this! I hope to learn more about the protocol by using this tool. I encountered two simple issues when applying your patches (see below). On Sun, Jul 20, 2014 at 10:18:03AM +0800, Boyan Ding wrote: > Signed-off-by: Boyan Ding > --- > .gitignore | 1 + > Makefile.am | 10

[RFC wayland 2/2] Add a wayland protocol dumper wayland-tracer

2014-07-19 Thread Boyan Ding
Signed-off-by: Boyan Ding --- .gitignore | 1 + Makefile.am | 10 ++ configure.ac | 7 ++ src/tracer.c | 351 +++ 4 files changed, 369 insertions(+) create mode 100644 src/tracer.c diff --git a/.gitignore b/.gitignore index c146bac