Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 
31  mir_client_rpc,
32  invocation_requested,
33  TP_ARGS(uint32_t, id, const char*, method),
34  TP_FIELDS(
35  ctf_integer(uint32_t, id, id)
36  ctf_string(method, method)
37  )
38 )
39 
41  mir_client_rpc,
43  TP_ARGS(uint32_t, id, const char*, method),
44  TP_FIELDS(
45  ctf_integer(uint32_t, id, id)
46  ctf_string(method, method)
47  )
48 )
49 
51  mir_client_rpc,
53  TP_ARGS(uint32_t, id),
54  TP_FIELDS(
55  ctf_integer(uint32_t, id, id)
56  )
57 )
58 
60  mir_client_rpc,
62  TP_ARGS(int, dummy),
63  TP_FIELDS(
64  ctf_integer(int, dummy, dummy)
65  )
66 )
67 
69  mir_client_rpc,
71  TP_ARGS(uint32_t, id),
72  TP_FIELDS(
73  ctf_integer(uint32_t, id, id)
74  )
75 )
76 
78  mir_client_rpc,
80  TP_ARGS(const int32_t*, fds, size_t, len),
81  TP_FIELDS(
82  ctf_sequence(int32_t, fds, fds, size_t, len)
83  )
84 )
85 
86 #endif /* MIR_CLIENT_LTTNG_RPC_REPORT_TP_H_ */
87 
88 #include <lttng/tracepoint-event.h>

Copyright © 2012,2013 Canonical Ltd.
Generated on Wed Oct 30 18:52:19 UTC 2013