instrumentation: napi: remove compatibility code
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Apr 2020 20:17:44 +0000 (16:17 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Apr 2020 20:17:44 +0000 (16:17 -0400)
instrumentation/events/lttng-module/napi.h

index 8509f7d1eb43e2e08b1c97b149dc4e619298c3f8..4bb76f7f89060d38ad642ea4cdadb9765e1070d2 100644 (file)
@@ -11,8 +11,6 @@
 
 #define NO_DEV "(no_device)"
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,8,0))
-
 LTTNG_TRACEPOINT_EVENT(napi_poll,
 
        TP_PROTO(struct napi_struct *napi, int work, int budget),
@@ -27,22 +25,6 @@ LTTNG_TRACEPOINT_EVENT(napi_poll,
        )
 )
 
-#else
-
-LTTNG_TRACEPOINT_EVENT(napi_poll,
-
-       TP_PROTO(struct napi_struct *napi),
-
-       TP_ARGS(napi),
-
-       TP_FIELDS(
-               ctf_integer_hex(struct napi_struct *, napi, napi)
-               ctf_string(dev_name, napi->dev ? napi->dev->name : NO_DEV)
-       )
-)
-
-#endif
-
 #undef NO_DEV
 
 #endif /* LTTNG_TRACE_NAPI_H */
This page took 0.025651 seconds and 4 git commands to generate.