[PATCH] input: change CHECKEVENT macro to verify_internal_event function

Daniel Stone daniel at fooishbar.org
Wed May 4 17:45:41 PDT 2011


On Thu, May 05, 2011 at 08:48:19AM +1000, Peter Hutterer wrote:
> The macro is sufficient if called during a development cycle, but not
> sufficient information when triggered by a user (e.g.
> https://bugzilla.redhat.com/show_bug.cgi?id=688693).
> 
> Expand what this does to print the event content and a backtrace, so at
> least we know where we're coming from. Only the first 32 bytes are printed
> since if something goes wrong, the event we have is almost certainly an
> xEvent or xError, both restricted to 32 bytes.
> 
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

Reviewed-by: Daniel Stone <daniel at fooishbar.org>

Cheers,
Daniel


More information about the xorg-devel mailing list