~townsend/ubuntu-app-launch/remove-xmir-helpers

« back to all changes in this revision

Viewing changes to libubuntu-app-launch/ubuntu-app-launch-trace.tp

  • Committer: Ted Gould
  • Date: 2014-04-30 15:45:23 UTC
  • mto: This revision was merged to the branch mainline in revision 150.
  • Revision ID: ted@gould.cx-20140430154523-2obclpi5vuoikm8t
Build system and file moves

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
/*******************************
3
3
  LibUAL start function
4
4
 *******************************/
5
 
TRACEPOINT_EVENT(upstart_app_launch, libual_start,
 
5
TRACEPOINT_EVENT(ubuntu_app_launch, libual_start,
6
6
        TP_ARGS(const char *, appid),
7
7
        TP_FIELDS(
8
8
                ctf_string(appid, appid)
9
9
        )
10
10
)
11
 
TRACEPOINT_EVENT(upstart_app_launch, libual_determine_type,
 
11
TRACEPOINT_EVENT(ubuntu_app_launch, libual_determine_type,
12
12
        TP_ARGS(const char *, appid, const char *, type),
13
13
        TP_FIELDS(
14
14
                ctf_string(appid, appid)
15
15
                ctf_string(type, type)
16
16
        )
17
17
)
18
 
TRACEPOINT_EVENT(upstart_app_launch, libual_job_path_determined,
 
18
TRACEPOINT_EVENT(ubuntu_app_launch, libual_job_path_determined,
19
19
        TP_ARGS(const char *, appid, const char *, job_path),
20
20
        TP_FIELDS(
21
21
                ctf_string(appid, appid)
22
22
                ctf_string(job_path, job_path)
23
23
        )
24
24
)
25
 
TRACEPOINT_EVENT(upstart_app_launch, libual_start_message_sent,
 
25
TRACEPOINT_EVENT(ubuntu_app_launch, libual_start_message_sent,
26
26
        TP_ARGS(const char *, appid),
27
27
        TP_FIELDS(
28
28
                ctf_string(appid, appid)
29
29
        )
30
30
)
31
 
TRACEPOINT_EVENT(upstart_app_launch, libual_start_message_callback,
 
31
TRACEPOINT_EVENT(ubuntu_app_launch, libual_start_message_callback,
32
32
        TP_ARGS(const char *, appid),
33
33
        TP_FIELDS(
34
34
                ctf_string(appid, appid)
39
39
  LibUAL observers
40
40
 *******************************/
41
41
 
42
 
TRACEPOINT_EVENT(upstart_app_launch, observer_start,
 
42
TRACEPOINT_EVENT(ubuntu_app_launch, observer_start,
43
43
        TP_ARGS(const char *, type),
44
44
        TP_FIELDS(
45
45
                ctf_string(type, type)
46
46
        )
47
47
)
48
 
TRACEPOINT_EVENT(upstart_app_launch, observer_finish,
 
48
TRACEPOINT_EVENT(ubuntu_app_launch, observer_finish,
49
49
        TP_ARGS(const char *, type),
50
50
        TP_FIELDS(
51
51
                ctf_string(type, type)
56
56
/*******************************
57
57
  Second Exec tracking
58
58
 *******************************/
59
 
TRACEPOINT_EVENT(upstart_app_launch, second_exec_start,
 
59
TRACEPOINT_EVENT(ubuntu_app_launch, second_exec_start,
60
60
        TP_ARGS(const char *, appid, const char *, appuris),
61
61
        TP_FIELDS(
62
62
                ctf_string(appid, appid)
63
63
                ctf_string(appuris, appuris)
64
64
        )
65
65
)
66
 
TRACEPOINT_EVENT(upstart_app_launch, second_exec_emit_resume,
67
 
        TP_ARGS(const char *, appid),
68
 
        TP_FIELDS(
69
 
                ctf_string(appid, appid)
70
 
        )
71
 
)
72
 
TRACEPOINT_EVENT(upstart_app_launch, second_exec_resume_complete,
73
 
        TP_ARGS(const char *, appid),
74
 
        TP_FIELDS(
75
 
                ctf_string(appid, appid)
76
 
        )
77
 
)
78
 
TRACEPOINT_EVENT(upstart_app_launch, second_exec_resume_timeout,
79
 
        TP_ARGS(const char *, appid),
80
 
        TP_FIELDS(
81
 
                ctf_string(appid, appid)
82
 
        )
83
 
)
84
 
TRACEPOINT_EVENT(upstart_app_launch, second_exec_emit_focus,
85
 
        TP_ARGS(const char *, appid),
86
 
        TP_FIELDS(
87
 
                ctf_string(appid, appid)
88
 
        )
89
 
)
90
 
TRACEPOINT_EVENT(upstart_app_launch, second_exec_finish,
91
 
        TP_ARGS(const char *, appid),
92
 
        TP_FIELDS(
93
 
                ctf_string(appid, appid)
94
 
        )
95
 
)
96
 
TRACEPOINT_EVENT(upstart_app_launch, second_exec_got_dbus_names,
97
 
        TP_ARGS(const char *, appid),
98
 
        TP_FIELDS(
99
 
                ctf_string(appid, appid)
100
 
        )
101
 
)
102
 
TRACEPOINT_EVENT(upstart_app_launch, second_exec_got_primary_pid,
103
 
        TP_ARGS(const char *, appid),
104
 
        TP_FIELDS(
105
 
                ctf_string(appid, appid)
106
 
        )
107
 
)
108
 
TRACEPOINT_EVENT(upstart_app_launch, second_exec_request_pid,
109
 
        TP_ARGS(const char *, appid, const char *, dbus_name),
110
 
        TP_FIELDS(
111
 
                ctf_string(appid, appid)
112
 
                ctf_string(dbus_name, dbus_name)
113
 
        )
114
 
)
115
 
TRACEPOINT_EVENT(upstart_app_launch, second_exec_got_pid,
116
 
        TP_ARGS(const char *, appid, const char *, dbus_name),
117
 
        TP_FIELDS(
118
 
                ctf_string(appid, appid)
119
 
                ctf_string(dbus_name, dbus_name)
120
 
        )
121
 
)
122
 
TRACEPOINT_EVENT(upstart_app_launch, second_exec_contact_app,
123
 
        TP_ARGS(const char *, appid, const char *, dbus_name),
124
 
        TP_FIELDS(
125
 
                ctf_string(appid, appid)
126
 
                ctf_string(dbus_name, dbus_name)
127
 
        )
128
 
)
129
 
TRACEPOINT_EVENT(upstart_app_launch, second_exec_app_contacted,
130
 
        TP_ARGS(const char *, appid),
131
 
        TP_FIELDS(
132
 
                ctf_string(appid, appid)
133
 
        )
134
 
)
135
 
TRACEPOINT_EVENT(upstart_app_launch, second_exec_app_error,
136
 
        TP_ARGS(const char *, appid),
137
 
        TP_FIELDS(
138
 
                ctf_string(appid, appid)
139
 
        )
140
 
)
141
 
TRACEPOINT_EVENT(upstart_app_launch, second_exec_connection_complete,
 
66
TRACEPOINT_EVENT(ubuntu_app_launch, second_exec_emit_resume,
 
67
        TP_ARGS(const char *, appid),
 
68
        TP_FIELDS(
 
69
                ctf_string(appid, appid)
 
70
        )
 
71
)
 
72
TRACEPOINT_EVENT(ubuntu_app_launch, second_exec_resume_complete,
 
73
        TP_ARGS(const char *, appid),
 
74
        TP_FIELDS(
 
75
                ctf_string(appid, appid)
 
76
        )
 
77
)
 
78
TRACEPOINT_EVENT(ubuntu_app_launch, second_exec_resume_timeout,
 
79
        TP_ARGS(const char *, appid),
 
80
        TP_FIELDS(
 
81
                ctf_string(appid, appid)
 
82
        )
 
83
)
 
84
TRACEPOINT_EVENT(ubuntu_app_launch, second_exec_emit_focus,
 
85
        TP_ARGS(const char *, appid),
 
86
        TP_FIELDS(
 
87
                ctf_string(appid, appid)
 
88
        )
 
89
)
 
90
TRACEPOINT_EVENT(ubuntu_app_launch, second_exec_finish,
 
91
        TP_ARGS(const char *, appid),
 
92
        TP_FIELDS(
 
93
                ctf_string(appid, appid)
 
94
        )
 
95
)
 
96
TRACEPOINT_EVENT(ubuntu_app_launch, second_exec_got_dbus_names,
 
97
        TP_ARGS(const char *, appid),
 
98
        TP_FIELDS(
 
99
                ctf_string(appid, appid)
 
100
        )
 
101
)
 
102
TRACEPOINT_EVENT(ubuntu_app_launch, second_exec_got_primary_pid,
 
103
        TP_ARGS(const char *, appid),
 
104
        TP_FIELDS(
 
105
                ctf_string(appid, appid)
 
106
        )
 
107
)
 
108
TRACEPOINT_EVENT(ubuntu_app_launch, second_exec_request_pid,
 
109
        TP_ARGS(const char *, appid, const char *, dbus_name),
 
110
        TP_FIELDS(
 
111
                ctf_string(appid, appid)
 
112
                ctf_string(dbus_name, dbus_name)
 
113
        )
 
114
)
 
115
TRACEPOINT_EVENT(ubuntu_app_launch, second_exec_got_pid,
 
116
        TP_ARGS(const char *, appid, const char *, dbus_name),
 
117
        TP_FIELDS(
 
118
                ctf_string(appid, appid)
 
119
                ctf_string(dbus_name, dbus_name)
 
120
        )
 
121
)
 
122
TRACEPOINT_EVENT(ubuntu_app_launch, second_exec_contact_app,
 
123
        TP_ARGS(const char *, appid, const char *, dbus_name),
 
124
        TP_FIELDS(
 
125
                ctf_string(appid, appid)
 
126
                ctf_string(dbus_name, dbus_name)
 
127
        )
 
128
)
 
129
TRACEPOINT_EVENT(ubuntu_app_launch, second_exec_app_contacted,
 
130
        TP_ARGS(const char *, appid),
 
131
        TP_FIELDS(
 
132
                ctf_string(appid, appid)
 
133
        )
 
134
)
 
135
TRACEPOINT_EVENT(ubuntu_app_launch, second_exec_app_error,
 
136
        TP_ARGS(const char *, appid),
 
137
        TP_FIELDS(
 
138
                ctf_string(appid, appid)
 
139
        )
 
140
)
 
141
TRACEPOINT_EVENT(ubuntu_app_launch, second_exec_connection_complete,
142
142
        TP_ARGS(const char *, appid),
143
143
        TP_FIELDS(
144
144
                ctf_string(appid, appid)
148
148
/*******************************
149
149
  Desktop File Single Instance
150
150
 *******************************/
151
 
TRACEPOINT_EVENT(upstart_app_launch, desktop_single_start,
152
 
        TP_ARGS(const char *, appid),
153
 
        TP_FIELDS(
154
 
                ctf_string(appid, appid)
155
 
        )
156
 
)
157
 
TRACEPOINT_EVENT(upstart_app_launch, desktop_single_found,
158
 
        TP_ARGS(const char *, appid),
159
 
        TP_FIELDS(
160
 
                ctf_string(appid, appid)
161
 
        )
162
 
)
163
 
TRACEPOINT_EVENT(upstart_app_launch, desktop_single_finished,
 
151
TRACEPOINT_EVENT(ubuntu_app_launch, desktop_single_start,
 
152
        TP_ARGS(const char *, appid),
 
153
        TP_FIELDS(
 
154
                ctf_string(appid, appid)
 
155
        )
 
156
)
 
157
TRACEPOINT_EVENT(ubuntu_app_launch, desktop_single_found,
 
158
        TP_ARGS(const char *, appid),
 
159
        TP_FIELDS(
 
160
                ctf_string(appid, appid)
 
161
        )
 
162
)
 
163
TRACEPOINT_EVENT(ubuntu_app_launch, desktop_single_finished,
164
164
        TP_ARGS(const char *, appid, const char *, apptype),
165
165
        TP_FIELDS(
166
166
                ctf_string(appid, appid)