| Index: ui/events/ozone/evdev/touch_event_converter_evdev.cc
|
| diff --git a/ui/events/ozone/evdev/touch_event_converter_evdev.cc b/ui/events/ozone/evdev/touch_event_converter_evdev.cc
|
| index 5b7b2596f97f7c2c3ecada4f7a84165dba014af3..2427f894d3a591d4c86152c8b8918fd559417326 100644
|
| --- a/ui/events/ozone/evdev/touch_event_converter_evdev.cc
|
| +++ b/ui/events/ozone/evdev/touch_event_converter_evdev.cc
|
| @@ -23,6 +23,7 @@
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/string_util.h"
|
| #include "base/strings/stringprintf.h"
|
| +#include "base/trace_event/trace_event.h"
|
| #include "ui/events/devices/device_data_manager.h"
|
| #include "ui/events/devices/device_util_linux.h"
|
| #include "ui/events/event.h"
|
| @@ -214,6 +215,10 @@ void TouchEventConverterEvdev::OnStopped() {
|
| }
|
|
|
| void TouchEventConverterEvdev::OnFileCanReadWithoutBlocking(int fd) {
|
| + TRACE_EVENT1("evdev",
|
| + "TouchEventConverterEvdev::OnFileCanReadWithoutBlocking", "fd",
|
| + fd);
|
| +
|
| input_event inputs[kNumTouchEvdevSlots * 6 + 1];
|
| ssize_t read_size = read(fd, inputs, sizeof(inputs));
|
| if (read_size < 0) {
|
|
|