X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-ext4.c;h=0d0e3a828342f8c63e8f65ee333f9d1ead0cf92e;hb=4f47ccf08dfac3d5db7553eb8b40bdab19764727;hp=157c9db4be3625cd2218ef7fd4cbf3dffff4dd1e;hpb=13ab8b0a749053960f81a4924a3ed27775518f94;p=lttng-modules.git diff --git a/probes/lttng-probe-ext4.c b/probes/lttng-probe-ext4.c index 157c9db4..0d0e3a82 100644 --- a/probes/lttng-probe-ext4.c +++ b/probes/lttng-probe-ext4.c @@ -1,24 +1,11 @@ -/* +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) + * * probes/lttng-probe-ext4.c * * LTTng ext4 probes. * * Copyright (C) 2010-2012 Mathieu Desnoyers * Copyright (C) 2012 Mentor Graphics Corp. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; only - * version 2.1 of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include @@ -27,7 +14,7 @@ #include <../fs/ext4/mballoc.h> #include <../fs/ext4/ext4_extents.h> #include -#include "../lttng-tracer.h" +#include /* * Create the tracepoint static inlines from the kernel to validate that our @@ -35,17 +22,17 @@ */ #include -#include "../lttng-kernel-version.h" -#include "../wrapper/tracepoint.h" +#include +#include /* * Create LTTng tracepoint probes. */ #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS -#define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module +#define TRACE_INCLUDE_PATH instrumentation/events -#include "../instrumentation/events/lttng-module/ext4.h" +#include MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Andrew Gabbasov ");