• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// THIS FILE IS GENERATED BY ftrace_proto_generator.py, PLEASE DON'T EDIT IT!
2// Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved.
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15
16syntax = "proto3";
17
18option optimize_for = LITE_RUNTIME;
19
20// category: sunrpc
21// /sys/kernel/debug/tracing/events/sunrpc/rpc_bind_status/format
22message RpcBindStatusFormat {
23    uint32 task_id = 1;
24    uint32 client_id = 2;
25    int32 status = 3;
26}
27
28// /sys/kernel/debug/tracing/events/sunrpc/rpc_call_status/format
29message RpcCallStatusFormat {
30    uint32 task_id = 1;
31    uint32 client_id = 2;
32    int32 status = 3;
33}
34
35// /sys/kernel/debug/tracing/events/sunrpc/rpc_connect_status/format
36message RpcConnectStatusFormat {
37    uint32 task_id = 1;
38    uint32 client_id = 2;
39    int32 status = 3;
40}
41
42// /sys/kernel/debug/tracing/events/sunrpc/rpc_socket_close/format
43message RpcSocketCloseFormat {
44    uint32 socket_state = 1;
45    uint32 sock_state = 2;
46    uint64 ino = 3;
47    string dstaddr = 4;
48    string dstport = 5;
49    string saddr = 6;
50    string daddr = 7;
51}
52
53// /sys/kernel/debug/tracing/events/sunrpc/rpc_socket_connect/format
54message RpcSocketConnectFormat {
55    int32 error = 1;
56    uint32 socket_state = 2;
57    uint32 sock_state = 3;
58    uint64 ino = 4;
59    string dstaddr = 5;
60    string dstport = 6;
61    string saddr = 7;
62    string daddr = 8;
63}
64
65// /sys/kernel/debug/tracing/events/sunrpc/rpc_socket_error/format
66message RpcSocketErrorFormat {
67    int32 error = 1;
68    uint32 socket_state = 2;
69    uint32 sock_state = 3;
70    uint64 ino = 4;
71    string dstaddr = 5;
72    string dstport = 6;
73    string saddr = 7;
74    string daddr = 8;
75}
76
77// /sys/kernel/debug/tracing/events/sunrpc/rpc_socket_reset_connection/format
78message RpcSocketResetConnectionFormat {
79    int32 error = 1;
80    uint32 socket_state = 2;
81    uint32 sock_state = 3;
82    uint64 ino = 4;
83    string dstaddr = 5;
84    string dstport = 6;
85    string saddr = 7;
86    string daddr = 8;
87}
88
89// /sys/kernel/debug/tracing/events/sunrpc/rpc_socket_shutdown/format
90message RpcSocketShutdownFormat {
91    uint32 socket_state = 1;
92    uint32 sock_state = 2;
93    uint64 ino = 3;
94    string dstaddr = 4;
95    string dstport = 5;
96    string saddr = 6;
97    string daddr = 7;
98}
99
100// /sys/kernel/debug/tracing/events/sunrpc/rpc_socket_state_change/format
101message RpcSocketStateChangeFormat {
102    uint32 socket_state = 1;
103    uint32 sock_state = 2;
104    uint64 ino = 3;
105    string dstaddr = 4;
106    string dstport = 5;
107    string saddr = 6;
108    string daddr = 7;
109}
110
111// /sys/kernel/debug/tracing/events/sunrpc/rpc_task_begin/format
112message RpcTaskBeginFormat {
113    uint32 task_id = 1;
114    uint32 client_id = 2;
115    uint64 action = 3;
116    uint64 runstate = 4;
117    int32 status = 5;
118    uint32 flags = 6;
119}
120
121// /sys/kernel/debug/tracing/events/sunrpc/rpc_task_complete/format
122message RpcTaskCompleteFormat {
123    uint32 task_id = 1;
124    uint32 client_id = 2;
125    uint64 action = 3;
126    uint64 runstate = 4;
127    int32 status = 5;
128    uint32 flags = 6;
129}
130
131// /sys/kernel/debug/tracing/events/sunrpc/rpc_task_run_action/format
132message RpcTaskRunActionFormat {
133    uint32 task_id = 1;
134    uint32 client_id = 2;
135    uint64 action = 3;
136    uint64 runstate = 4;
137    int32 status = 5;
138    uint32 flags = 6;
139}
140
141// /sys/kernel/debug/tracing/events/sunrpc/rpc_task_sleep/format
142message RpcTaskSleepFormat {
143    uint32 task_id = 1;
144    uint32 client_id = 2;
145    uint64 timeout = 3;
146    uint64 runstate = 4;
147    int32 status = 5;
148    uint32 flags = 6;
149    string q_name = 7;
150}
151
152// /sys/kernel/debug/tracing/events/sunrpc/rpc_task_wakeup/format
153message RpcTaskWakeupFormat {
154    uint32 task_id = 1;
155    uint32 client_id = 2;
156    uint64 timeout = 3;
157    uint64 runstate = 4;
158    int32 status = 5;
159    uint32 flags = 6;
160    string q_name = 7;
161}
162
163// /sys/kernel/debug/tracing/events/sunrpc/svc_handle_xprt/format
164message SvcHandleXprtFormat {
165    uint64 xprt = 1;
166    int32 len = 2;
167    uint64 flags = 3;
168    string addr = 4;
169}
170
171// /sys/kernel/debug/tracing/events/sunrpc/svc_process/format
172message SvcProcessFormat {
173    uint32 xid = 1;
174    uint32 vers = 2;
175    uint32 proc = 3;
176    string service = 4;
177    string addr = 5;
178    string procedure = 6;
179}
180
181// /sys/kernel/debug/tracing/events/sunrpc/svc_recv/format
182message SvcRecvFormat {
183    uint32 xid = 1;
184    int32 len = 2;
185    uint64 flags = 3;
186    string addr = 4;
187}
188
189// /sys/kernel/debug/tracing/events/sunrpc/svc_send/format
190message SvcSendFormat {
191    uint32 xid = 1;
192    int32 status = 2;
193    uint64 flags = 3;
194    string addr = 4;
195    uint32 server = 5;
196    uint32 client = 6;
197    uint32 netns_ino = 7;
198}
199
200// /sys/kernel/debug/tracing/events/sunrpc/svc_wake_up/format
201message SvcWakeUpFormat {
202    int32 pid = 1;
203}
204
205// /sys/kernel/debug/tracing/events/sunrpc/svc_xprt_dequeue/format
206message SvcXprtDequeueFormat {
207    uint64 xprt = 1;
208    uint64 flags = 2;
209    uint64 wakeup = 3;
210    string addr = 4;
211    uint32 server = 5;
212    uint32 client = 6;
213    uint32 netns_ino = 7;
214}
215// /sys/kernel/debug/tracing/events/sunrpc/svc_xprt_do_enqueue/format
216message SvcXprtDoEnqueueFormat {
217    uint64 xprt = 1;
218    int32 pid = 2;
219    uint64 flags = 3;
220    string addr = 4;
221}
222
223// /sys/kernel/debug/tracing/events/sunrpc/xprt_complete_rqst/format
224message XprtCompleteRqstFormat {
225    uint32 xid = 1;
226    int32 status = 2;
227    string addr = 3;
228    string port = 4;
229}
230
231// /sys/kernel/debug/tracing/events/sunrpc/xprt_lookup_rqst/format
232message XprtLookupRqstFormat {
233    uint32 xid = 1;
234    int32 status = 2;
235    string addr = 3;
236    string port = 4;
237}
238
239// /sys/kernel/debug/tracing/events/sunrpc/xprt_transmit/format
240message XprtTransmitFormat {
241    uint32 xid = 1;
242    int32 status = 2;
243    string addr = 3;
244    string port = 4;
245    uint32 task_id = 5;
246    uint32 client_id = 6;
247    uint32 seqno = 7;
248}
249
250// /sys/kernel/debug/tracing/events/sunrpc/xs_tcp_data_ready/format
251message XsTcpDataReadyFormat {
252    int32 err = 1;
253    uint32 total = 2;
254    string addr = 3;
255    string port = 4;
256}
257
258// /sys/kernel/debug/tracing/events/sunrpc/xs_tcp_data_recv/format
259message XsTcpDataRecvFormat {
260    string addr = 1;
261    string port = 2;
262    uint32 xid = 3;
263    uint64 flags = 4;
264    uint64 copied = 5;
265    uint32 reclen = 6;
266    uint64 offset = 7;
267}
268
269