{
struct libinput_event_device_notify *added_device_event;
- TRACE_BEGIN(notify_added_device);
+ TRACE_INPUT_BEGIN(notify_added_device);
added_device_event = zalloc(sizeof *added_device_event);
if (!added_device_event) {
- TRACE_END();
+ TRACE_INPUT_END();
return;
}
LIBINPUT_EVENT_DEVICE_ADDED,
&added_device_event->base);
- TRACE_END();
+ TRACE_INPUT_END();
}
void
{
struct libinput_event_device_notify *removed_device_event;
- TRACE_BEGIN(notify_removed_device);
+ TRACE_INPUT_BEGIN(notify_removed_device);
removed_device_event = zalloc(sizeof *removed_device_event);
if (!removed_device_event) {
- TRACE_END();
+ TRACE_INPUT_END();
return;
}
LIBINPUT_EVENT_DEVICE_REMOVED,
&removed_device_event->base);
- TRACE_END();
+ TRACE_INPUT_END();
}
void
struct libinput_event_keyboard *key_event;
uint32_t seat_key_count;
- TRACE_BEGIN(keyboard_notify_key);
+ TRACE_INPUT_BEGIN(keyboard_notify_key);
key_event = zalloc(sizeof *key_event);
if (!key_event) {
- TRACE_END();
+ TRACE_INPUT_END();
return;
}
LIBINPUT_EVENT_KEYBOARD_KEY,
&key_event->base);
- TRACE_END();
+ TRACE_INPUT_END();
}
void
{
struct libinput_event_pointer *motion_event;
- TRACE_BEGIN(pointer_notify_motion);
+ TRACE_INPUT_BEGIN(pointer_notify_motion);
motion_event = zalloc(sizeof *motion_event);
if (!motion_event) {
- TRACE_END();
+ TRACE_INPUT_END();
return;
}
LIBINPUT_EVENT_POINTER_MOTION,
&motion_event->base);
- TRACE_END();
+ TRACE_INPUT_END();
}
void
{
struct libinput_event_pointer *motion_absolute_event;
- TRACE_BEGIN(pointer_notify_motion_absolute);
+ TRACE_INPUT_BEGIN(pointer_notify_motion_absolute);
motion_absolute_event = zalloc(sizeof *motion_absolute_event);
if (!motion_absolute_event) {
- TRACE_END();
+ TRACE_INPUT_END();
return;
}
LIBINPUT_EVENT_POINTER_MOTION_ABSOLUTE,
&motion_absolute_event->base);
- TRACE_END();
+ TRACE_INPUT_END();
}
void
struct libinput_event_pointer *button_event;
int32_t seat_button_count;
- TRACE_BEGIN(pointer_notify_button);
+ TRACE_INPUT_BEGIN(pointer_notify_button);
button_event = zalloc(sizeof *button_event);
if (!button_event) {
- TRACE_END();
+ TRACE_INPUT_END();
return;
}
LIBINPUT_EVENT_POINTER_BUTTON,
&button_event->base);
- TRACE_END();
+ TRACE_INPUT_END();
}
void
{
struct libinput_event_pointer *axis_event;
- TRACE_BEGIN(pointer_notify_axis);
+ TRACE_INPUT_BEGIN(pointer_notify_axis);
axis_event = zalloc(sizeof *axis_event);
if (!axis_event) {
- TRACE_END();
+ TRACE_INPUT_END();
return;
}
LIBINPUT_EVENT_POINTER_AXIS,
&axis_event->base);
- TRACE_END();
+ TRACE_INPUT_END();
}
void
{
struct libinput_event_touch *touch_event;
- TRACE_BEGIN(touch_notify_touch_down);
+ TRACE_INPUT_BEGIN(touch_notify_touch_down);
touch_event = zalloc(sizeof *touch_event);
if (!touch_event) {
- TRACE_END();
+ TRACE_INPUT_END();
return;
}
LIBINPUT_EVENT_TOUCH_DOWN,
&touch_event->base);
- TRACE_END();
+ TRACE_INPUT_END();
}
void
{
struct libinput_event_touch *touch_event;
- TRACE_BEGIN(touch_notify_touch_motion);
+ TRACE_INPUT_BEGIN(touch_notify_touch_motion);
touch_event = zalloc(sizeof *touch_event);
if (!touch_event) {
- TRACE_END();
+ TRACE_INPUT_END();
return;
}
LIBINPUT_EVENT_TOUCH_MOTION,
&touch_event->base);
- TRACE_END();
+ TRACE_INPUT_END();
}
void
{
struct libinput_event_touch *touch_event;
- TRACE_BEGIN(touch_notify_touch_up);
+ TRACE_INPUT_BEGIN(touch_notify_touch_up);
touch_event = zalloc(sizeof *touch_event);
if (!touch_event) {
- TRACE_END();
+ TRACE_INPUT_END();
return;
}
LIBINPUT_EVENT_TOUCH_UP,
&touch_event->base);
- TRACE_END();
+ TRACE_INPUT_END();
}
void
{
struct libinput_event_touch *touch_event;
- TRACE_BEGIN(touch_notify_frame);
+ TRACE_INPUT_BEGIN(touch_notify_frame);
touch_event = zalloc(sizeof *touch_event);
if (!touch_event) {
- TRACE_END();
+ TRACE_INPUT_END();
return;
}
LIBINPUT_EVENT_TOUCH_FRAME,
&touch_event->base);
- TRACE_END();
+ TRACE_INPUT_END();
}
static void