1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
/*
* Copyright © 2013 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Authored by: Alexandros Frantzis <alexandros.frantzis@canonical.com>
*/
#undef TRACEPOINT_PROVIDER
#define TRACEPOINT_PROVIDER mir_server_msgproc
#undef TRACEPOINT_INCLUDE
#define TRACEPOINT_INCLUDE "./message_processor_report_tp.h"
#if !defined(MIR_LTTNG_MESSAGE_PROCESSOR_REPORT_TP_H_) || defined(TRACEPOINT_HEADER_MULTI_READ)
#define MIR_LTTNG_MESSAGE_PROCESSOR_REPORT_TP_H_
#include "lttng_utils.h"
TRACEPOINT_EVENT_CLASS(
mir_server_msgproc,
method_event,
TP_ARGS(const void*, mediator, int, id, const char*, method),
TP_FIELDS(
ctf_integer_hex(void*, mediator, mediator)
ctf_integer(int, id, id)
ctf_string(method, method)
)
)
TRACEPOINT_EVENT_INSTANCE(
mir_server_msgproc,
method_event,
received_invocation,
TP_ARGS(const void*, mediator, int, id, const char*, method)
)
TRACEPOINT_EVENT(
mir_server_msgproc,
completed_invocation,
TP_ARGS(const void*, mediator, int, id, int, result),
TP_FIELDS(
ctf_integer_hex(void*, mediator, mediator)
ctf_integer(int, id, id)
ctf_integer(int, result, result)
)
)
TRACEPOINT_EVENT_INSTANCE(
mir_server_msgproc,
method_event,
unknown_method,
TP_ARGS(const void*, mediator, int, id, char const*, method)
)
TRACEPOINT_EVENT(
mir_server_msgproc,
exception_handled,
TP_ARGS(const void*, mediator, int, id, char const*, exception),
TP_FIELDS(
ctf_integer_hex(void*, mediator, mediator)
ctf_integer(int, id, id)
ctf_string(exception, exception)
)
)
TRACEPOINT_EVENT(
mir_server_msgproc,
exception_handled_wo_invocation,
TP_ARGS(const void*, mediator, char const*, exception),
TP_FIELDS(
ctf_integer_hex(void*, mediator, mediator)
ctf_string(exception, exception)
)
)
TRACEPOINT_EVENT(
mir_server_msgproc,
sent_event,
TP_ARGS(const void*, mediator, int, surface_id, int, attribute, int, value),
TP_FIELDS(
ctf_integer_hex(void*, mediator, mediator)
ctf_integer(int, surface_id, surface_id)
ctf_integer(int, attribute, attribute)
ctf_integer(int, value, value)
)
)
#include "lttng_utils_pop.h"
#endif /* MIR_LTTNG_MESSAGE_PROCESSOR_REPORT_TP_H_ */
#include <lttng/tracepoint-event.h>
|