X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-lock.c;h=2ab91385b4e44551cbfd7977d0e12c483cc3f5f3;hb=4f47ccf08dfac3d5db7553eb8b40bdab19764727;hp=b3ad230204e7f1f897ca62dfbda5cebb0ad3a85f;hpb=9f36eaed6f91d5897924b551b44d1edd8cee00e2;p=lttng-modules.git diff --git a/probes/lttng-probe-lock.c b/probes/lttng-probe-lock.c index b3ad2302..2ab91385 100644 --- a/probes/lttng-probe-lock.c +++ b/probes/lttng-probe-lock.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) * * probes/lttng-probe-lock.c * @@ -10,18 +10,13 @@ #include #include -#include +#include /* * Create the tracepoint static inlines from the kernel to validate that our * trace event macros match the kernel we run on. */ -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) #include -#else -#include -#endif - #include /* @@ -29,9 +24,9 @@ */ #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS -#define TRACE_INCLUDE_PATH instrumentation/events/lttng-module +#define TRACE_INCLUDE_PATH instrumentation/events -#include +#include MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Wade Farnsworth and Andrew Gabbasov ");