Bug 84068 - Add event traces to libinput
Summary: Add event traces to libinput
Status: RESOLVED WONTFIX
Alias: None
Product: Wayland
Classification: Unclassified
Component: libinput (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-19 00:57 UTC by Peter Hutterer
Modified: 2016-01-20 03:27 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
incomplete/untested patch for backtracing (8.45 KB, patch)
2015-01-15 22:49 UTC, Peter Hutterer
Details | Splinter Review

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.