Mir
rpc_report_tp.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2013 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: Alexandros Frantzis <alexandros.frantzis@canonical.com>
17  */
18 
19 #undef TRACEPOINT_PROVIDER
20 #define TRACEPOINT_PROVIDER mir_client_rpc
21 
22 #undef TRACEPOINT_INCLUDE
23 #define TRACEPOINT_INCLUDE "./rpc_report_tp.h"
24 
25 #if !defined(MIR_CLIENT_LTTNG_RPC_REPORT_TP_H_) || defined(TRACEPOINT_HEADER_MULTI_READ)
26 #define MIR_CLIENT_LTTNG_RPC_REPORT_TP_H_
27 
28 #include <lttng/tracepoint.h>
29 #include <stdint.h>
30 
32  mir_client_rpc,
33  invocation_requested,
34  TP_ARGS(uint32_t, id, const char*, method),
35  TP_FIELDS(
36  ctf_integer(uint32_t, id, id)
37  ctf_string(method, method)
38  )
39 )
40 
42  mir_client_rpc,
44  TP_ARGS(uint32_t, id, const char*, method),
45  TP_FIELDS(
46  ctf_integer(uint32_t, id, id)
47  ctf_string(method, method)
48  )
49 )
50 
52  mir_client_rpc,
54  TP_ARGS(uint32_t, id),
55  TP_FIELDS(
56  ctf_integer(uint32_t, id, id)
57  )
58 )
59 
61  mir_client_rpc,
63  TP_ARGS(int, dummy),
64  TP_FIELDS(
65  ctf_integer(int, dummy, dummy)
66  )
67 )
68 
70  mir_client_rpc,
72  TP_ARGS(uint32_t, id),
73  TP_FIELDS(
74  ctf_integer(uint32_t, id, id)
75  )
76 )
77 
79  mir_client_rpc,
81  TP_ARGS(const int32_t*, fds, size_t, len),
82  TP_FIELDS(
83  ctf_sequence(int32_t, fds, fds, size_t, len)
84  )
85 )
86 
87 #endif /* MIR_CLIENT_LTTNG_RPC_REPORT_TP_H_ */
88 
89 #include <lttng/tracepoint-event.h>
event_parsing_succeeded
Definition: rpc_report_tp.h:62
file_descriptors_received
Definition: rpc_report_tp.h:80
complete_response
Definition: rpc_report_tp.h:71
TRACEPOINT_EVENT(mir_client_rpc, invocation_requested, TP_ARGS(uint32_t, id, const char *, method), TP_FIELDS(ctf_integer(uint32_t, id, id) ctf_string(method, method))) TRACEPOINT_EVENT(mir_client_rpc
TP_FIELDS(ctf_integer(uint32_t, id, id) ctf_string(method, method))) TRACEPOINT_EVENT(mir_client_rpc
result_receipt_succeeded
Definition: rpc_report_tp.h:53
Used only for dummy or stub platforms.
Definition: platform.h:107
TP_ARGS(uint32_t, id, const char *, method)
invocation_succeeded
Definition: rpc_report_tp.h:43

Copyright © 2012-2015 Canonical Ltd.
Generated on Wed Mar 30 00:29:56 UTC 2016