projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
instrumentation: napi: remove compatibility code
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
napi.h
diff --git
a/instrumentation/events/lttng-module/napi.h
b/instrumentation/events/lttng-module/napi.h
index 8509f7d1eb43e2e08b1c97b149dc4e619298c3f8..4bb76f7f89060d38ad642ea4cdadb9765e1070d2 100644
(file)
--- a/
instrumentation/events/lttng-module/napi.h
+++ b/
instrumentation/events/lttng-module/napi.h
@@
-11,8
+11,6
@@
#define NO_DEV "(no_device)"
#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),
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 */
#undef NO_DEV
#endif /* LTTNG_TRACE_NAPI_H */
This page took
0.02463 seconds
and
4
git commands to generate.