Mir
perf_report_tp.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2015 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: Kevin DuBois <kevin.dubois@canonical.com>
17  */
18 
19 #undef TRACEPOINT_PROVIDER
20 #define TRACEPOINT_PROVIDER mir_client_perf
21 
22 #undef TRACEPOINT_INCLUDE
23 #define TRACEPOINT_INCLUDE "./perf_report_tp.h"
24 
25 #if !defined(MIR_CLIENT_LTTNG_PERF_REPORT_TP_H_) || defined(TRACEPOINT_HEADER_MULTI_READ)
26 #define MIR_CLIENT_LTTNG_PERF_REPORT_TP_H_
27 
28 #include <lttng/tracepoint.h>
29 #include <stdint.h>
30 
32  mir_client_perf,
33  begin_frame,
34  TP_ARGS(uint32_t, buffer_id),
35  TP_FIELDS(
36  ctf_integer(uint32_t, buffer_id, buffer_id)
37  )
38 )
39 
41  mir_client_perf,
43  TP_ARGS(uint32_t, buffer_id),
44  TP_FIELDS(
45  ctf_integer(uint32_t, buffer_id, buffer_id)
46  )
47 )
48 
49 #endif /* MIR_CLIENT_LTTNG_PERF_REPORT_TP_H_ */
50 
51 #include <lttng/tracepoint-event.h>
TP_ARGS(uint32_t, buffer_id)
end_frame
Definition: perf_report_tp.h:42
TRACEPOINT_EVENT(mir_client_perf, begin_frame, TP_ARGS(uint32_t, buffer_id), TP_FIELDS(ctf_integer(uint32_t, buffer_id, buffer_id))) TRACEPOINT_EVENT(mir_client_perf
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-2015 Canonical Ltd.
Generated on Wed Mar 30 00:29:56 UTC 2016