1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #define TRACE_SYSTEM 9p
5 #if !defined(LTTNG_TRACE_9P_H) || defined(TRACE_HEADER_MULTI_READ)
6 #define LTTNG_TRACE_9P_H
8 #include <probes/lttng-tracepoint-event.h>
10 LTTNG_TRACEPOINT_EVENT(9p_client_req
,
12 TP_PROTO(struct p9_client
*clnt
, int8_t type
, int tag
),
14 TP_ARGS(clnt
, type
, tag
),
17 ctf_integer_hex(void *, clnt
, clnt
)
18 ctf_integer(u8
, type
, type
)
19 ctf_integer(u32
, tag
, tag
)
23 LTTNG_TRACEPOINT_EVENT(9p_client_res
,
25 TP_PROTO(struct p9_client
*clnt
, int8_t type
, int tag
, int err
),
27 TP_ARGS(clnt
, type
, tag
, err
),
30 ctf_integer_hex(void *, clnt
, clnt
)
31 ctf_integer(u8
, type
, type
)
32 ctf_integer(u32
, tag
, tag
)
33 ctf_integer(u32
, err
, err
)
37 LTTNG_TRACEPOINT_EVENT(9p_protocol_dump
,
39 TP_PROTO(struct p9_client
*clnt
, struct p9_fcall
*pdu
),
44 ctf_integer_hex(void *, clnt
, clnt
)
45 ctf_integer(u8
, type
, pdu
->id
)
46 ctf_integer(u16
, tag
, pdu
->tag
)
47 ctf_array(unsigned char, line
, pdu
->sdata
, P9_PROTO_DUMP_SZ
)
51 #endif /* LTTNG_TRACE_9P_H */
53 /* This part must be outside protection */
54 #include <probes/define_trace.h>
This page took 0.031417 seconds and 4 git commands to generate.