instrumentation: 9p: remove compatibility code
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Apr 2020 19:47:26 +0000 (15:47 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Apr 2020 19:47:26 +0000 (15:47 -0400)
instrumentation/events/lttng-module/9p.h

index 509b984fc0c5b7cee126abf61dbbda25342b4423..aa7da3092e28be8842e68a2aa905fd055f3b68ab 100644 (file)
@@ -6,9 +6,7 @@
 #define LTTNG_TRACE_9P_H
 
 #include <probes/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),
@@ -49,7 +47,6 @@ LTTNG_TRACEPOINT_EVENT(9p_protocol_dump,
                ctf_array(unsigned char, line, pdu->sdata, P9_PROTO_DUMP_SZ)
        )
 )
-#endif
 
 #endif /* LTTNG_TRACE_9P_H */
 
This page took 0.025223 seconds and 4 git commands to generate.