Cleanup: Move instrumentation/ headers to include/instrumentation/
[lttng-modules.git] / instrumentation / events / lttng-module / 9p.h
diff --git a/instrumentation/events/lttng-module/9p.h b/instrumentation/events/lttng-module/9p.h
deleted file mode 100644 (file)
index 0123bbf..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-#undef TRACE_SYSTEM
-#define TRACE_SYSTEM 9p
-
-#if !defined(LTTNG_TRACE_9P_H) || defined(TRACE_HEADER_MULTI_READ)
-#define LTTNG_TRACE_9P_H
-
-#include <lttng/tracepoint-event.h>
-#include <linux/version.h>
-
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,14,0))
-LTTNG_TRACEPOINT_EVENT(9p_client_req,
-
-       TP_PROTO(struct p9_client *clnt, int8_t type, int tag),
-
-       TP_ARGS(clnt, type, tag),
-
-       TP_FIELDS(
-               ctf_integer_hex(void *, clnt, clnt)
-               ctf_integer(u8, type, type)
-               ctf_integer(u32, tag, tag)
-       )
-)
-
-LTTNG_TRACEPOINT_EVENT(9p_client_res,
-
-       TP_PROTO(struct p9_client *clnt, int8_t type, int tag, int err),
-
-       TP_ARGS(clnt, type, tag, err),
-
-       TP_FIELDS(
-               ctf_integer_hex(void *, clnt, clnt)
-               ctf_integer(u8, type, type)
-               ctf_integer(u32, tag, tag)
-               ctf_integer(u32, err, err)
-       )
-)
-
-LTTNG_TRACEPOINT_EVENT(9p_protocol_dump,
-
-       TP_PROTO(struct p9_client *clnt, struct p9_fcall *pdu),
-
-       TP_ARGS(clnt, pdu),
-
-       TP_FIELDS(
-               ctf_integer_hex(void *, clnt, clnt)
-               ctf_integer(u8, type, pdu->id)
-               ctf_integer(u16, tag, pdu->tag)
-               ctf_array(unsigned char, line, pdu->sdata, P9_PROTO_DUMP_SZ)
-       )
-)
-#endif
-
-#endif /* LTTNG_TRACE_9P_H */
-
-/* This part must be outside protection */
-#include <lttng/define_trace.h>
This page took 0.024721 seconds and 4 git commands to generate.