Bug 84068

Summary: Add event traces to libinput
Product: Wayland Reporter: Peter Hutterer <peter.hutterer>
Component: libinputAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: medium CC: peter.hutterer
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: incomplete/untested patch for backtracing

Description Peter Hutterer 2014-09-19 00:57:16 UTC
Libinput asserts in a couple of places where things shouldn't happen (or prints a bug warning). In those cases (and some others) it's useful to have an event trace of how we got there.

Simple approach to this would be to store the last X evdev events in libinput and print them (in evemu format ideally) together with the bug message.
Comment 1 Peter Hutterer 2015-01-15 22:49:45 UTC
Created attachment 112322 [details] [review]
incomplete/untested patch for backtracing

Just so it's archived publicly too, this is an initial attempt at the backtrace. Incomplete and untested.
Comment 2 Peter Hutterer 2016-01-20 03:27:20 UTC
closing for now, reopen if there's a more acute need for it

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.