Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
input_receiver_report_tp.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2014 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License version 3 as
6  * published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU Lesser General Public License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * Authored by: Andreas Pokorny <andreas.pokorny@canonical.com>
17  */
18 
19 #undef TRACEPOINT_PROVIDER
20 #define TRACEPOINT_PROVIDER mir_client_input_receiver
21 
22 #undef TRACEPOINT_INCLUDE
23 #define TRACEPOINT_INCLUDE "./input_receiver_report_tp.h"
24 
25 #if !defined(MIR_CLIENT_LTTNG_INPUT_RECEIVER_REPORT_TP_H_) || defined(TRACEPOINT_HEADER_MULTI_READ)
26 #define MIR_CLIENT_LTTNG_INPUT_RECEIVER_REPORT_TP_H_
27 
28 #include <lttng/tracepoint.h>
29 #include <stdint.h>
30 
32  mir_client_input_receiver,
33  key_event,
34  TP_ARGS(int32_t, device_id, int32_t, source_id, int, action, int, flags, unsigned int, modifiers, int32_t, key_code, int32_t, scan_code, int64_t, down_time, int64_t, event_time),
35  TP_FIELDS(
36  ctf_integer(int32_t, device_id, device_id)
37  ctf_integer(int32_t, source_id, source_id)
38  ctf_integer(int, action, action)
39  ctf_integer(int, flags, flags)
40  ctf_integer(unsigned int, modifiers, modifiers)
41  ctf_integer(int32_t, key_code, key_code)
42  ctf_integer(int32_t, scan_code, scan_code)
43  ctf_integer(int64_t, down_time, down_time)
44  ctf_integer(int64_t, event_time, event_time)
45  )
46 )
47 
49  mir_client_input_receiver,
51  TP_ARGS(int32_t, device_id, int32_t, source_id, int, action, int, flags, unsigned int, modifiers, int32_t, edge_flags, int, button_state, int64_t, down_time, int64_t, event_time),
52  TP_FIELDS(
53  ctf_integer(int32_t, device_id, device_id)
54  ctf_integer(int32_t, source_id, source_id)
55  ctf_integer(int, action, action)
56  ctf_integer(int, flags, flags)
57  ctf_integer(unsigned int, modifiers, modifiers)
58  ctf_integer(int32_t, edge_flags, edge_flags)
59  ctf_integer(int, button_state, button_state)
60  ctf_integer(int64_t, down_time, down_time)
61  ctf_integer(int64_t, event_time, event_time)
62  )
63 )
64 
66  mir_client_input_receiver,
68  TP_ARGS(int, id, float, x, float, y, float, touch_major, float, touch_minor, float, size, float, pressure, float, orientation),
69  TP_FIELDS(
70  ctf_integer(int, id, id)
71  ctf_float(float, x, x)
72  ctf_float(float, y, y)
73  ctf_float(float, touch_major, touch_major)
74  ctf_float(float, touch_minor, touch_minor)
75  ctf_float(float, size, size)
76  ctf_float(float, pressure, pressure)
77  ctf_float(float, orientation, orientation)
78  )
79 )
80 
81 #endif /* MIR_CLIENT_LTTNG_INPUT_RECEIVER_REPORT_TP_H_ */
82 
83 #include <lttng/tracepoint-event.h>
motion_event_coordinate
Definition: input_receiver_report_tp.h:67
Definition: dimensions.h:35
TP_FIELDS(ctf_integer(int32_t, device_id, device_id) ctf_integer(int32_t, source_id, source_id) ctf_integer(int, action, action) ctf_integer(int, flags, flags) ctf_integer(unsigned int, modifiers, modifiers) ctf_integer(int32_t, edge_flags, edge_flags) ctf_integer(int, button_state, button_state) ctf_integer(int64_t, down_time, down_time) ctf_integer(int64_t, event_time, event_time))) TRACEPOINT_EVENT(mir_client_input_receiver
motion_event
Definition: input_receiver_report_tp.h:50
TRACEPOINT_EVENT(mir_client_input_receiver, key_event, TP_ARGS(int32_t, device_id, int32_t, source_id, int, action, int, flags, unsigned int, modifiers, int32_t, key_code, int32_t, scan_code, int64_t, down_time, int64_t, event_time), TP_FIELDS(ctf_integer(int32_t, device_id, device_id) ctf_integer(int32_t, source_id, source_id) ctf_integer(int, action, action) ctf_integer(int, flags, flags) ctf_integer(unsigned int, modifiers, modifiers) ctf_integer(int32_t, key_code, key_code) ctf_integer(int32_t, scan_code, scan_code) ctf_integer(int64_t, down_time, down_time) ctf_integer(int64_t, event_time, event_time))) TRACEPOINT_EVENT(mir_client_input_receiver
Definition: dimensions.h:35
TP_ARGS(int32_t, device_id, int32_t, source_id, int, action, int, flags, unsigned int, modifiers, int32_t, edge_flags, int, button_state, int64_t, down_time, int64_t, event_time)
int const size
Definition: make_socket_rpc_channel.cpp:51

Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Oct 10 14:07:14 UTC 2014