Mir
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, int, action, unsigned int, modifiers, int32_t, key_code, int32_t, scan_code, int64_t, event_time),
35  TP_FIELDS(
36  ctf_integer(int32_t, device_id, device_id)
37  ctf_integer(int, action, action)
38  ctf_integer(unsigned int, modifiers, modifiers)
39  ctf_integer(int32_t, key_code, key_code)
40  ctf_integer(int32_t, scan_code, scan_code)
41  ctf_integer(int64_t, event_time, event_time)
42  )
43 )
44 
46  mir_client_input_receiver,
48  TP_ARGS(int32_t, device_id, unsigned int, modifiers, int64_t, event_time),
49  TP_FIELDS(
50  ctf_integer(int32_t, device_id, device_id)
51  ctf_integer(unsigned int, modifiers, modifiers)
52  ctf_integer(int64_t, event_time, event_time)
53  )
54 )
55 
57  mir_client_input_receiver,
59  TP_ARGS(int, id, float, x, float, y, float, touch_major, float, touch_minor, float, size, float, pressure),
60  TP_FIELDS(
61  ctf_integer(int, id, id)
62  ctf_float(float, x, x)
63  ctf_float(float, y, y)
64  ctf_float(float, touch_major, touch_major)
65  ctf_float(float, touch_minor, touch_minor)
66  ctf_float(float, size, size)
67  ctf_float(float, pressure, pressure)
68  )
69 )
70 
71 #endif /* MIR_CLIENT_LTTNG_INPUT_RECEIVER_REPORT_TP_H_ */
72 
73 #include <lttng/tracepoint-event.h>
Definition: dimensions.h:35
TRACEPOINT_EVENT(mir_client_input_receiver, key_event, TP_ARGS(int32_t, device_id, int, action, unsigned int, modifiers, int32_t, key_code, int32_t, scan_code, int64_t, event_time), TP_FIELDS(ctf_integer(int32_t, device_id, device_id) ctf_integer(int, action, action) 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, event_time, event_time))) TRACEPOINT_EVENT(mir_client_input_receiver
Definition: dimensions.h:35
TP_ARGS(int32_t, device_id, unsigned int, modifiers, int64_t, event_time)
touch_event_coordinate
Definition: input_receiver_report_tp.h:58
touch_event
Definition: input_receiver_report_tp.h:47
int const size
Definition: make_socket_rpc_channel.cpp:51
TP_FIELDS(ctf_integer(int32_t, device_id, device_id) ctf_integer(unsigned int, modifiers, modifiers) ctf_integer(int64_t, event_time, event_time))) TRACEPOINT_EVENT(mir_client_input_receiver

Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015