X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-i2c.c;h=9dc1c79ead08a1877918f1a5d1ed03ec6ae31229;hb=4f47ccf08dfac3d5db7553eb8b40bdab19764727;hp=d1c1e099308dccaeae96f03798321c7bf4c65282;hpb=2ca394649a5fb4135bfbe541f090b06ef933a63b;p=lttng-modules.git diff --git a/probes/lttng-probe-i2c.c b/probes/lttng-probe-i2c.c index d1c1e099..9dc1c79e 100644 --- a/probes/lttng-probe-i2c.c +++ b/probes/lttng-probe-i2c.c @@ -1,29 +1,16 @@ -/* +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) + * * probes/lttng-probe-i2c.c * * LTTng i2c probes. * * Copyright (C) 2012 Mathieu Desnoyers * Copyright (C) 2016 Simon Marchi - * - * 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 #include -#include +#include /* * Create the tracepoint static inlines from the kernel to validate that our @@ -36,7 +23,7 @@ */ #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS -#define TRACE_INCLUDE_PATH instrumentation/events/lttng-module +#define TRACE_INCLUDE_PATH instrumentation/events static int extract_sensitive_payload; module_param(extract_sensitive_payload, int, 0644); @@ -44,7 +31,7 @@ MODULE_PARM_DESC(extract_sensitive_payload, "Whether to extract possibly sensitive data from events (i2c " "buffer contents) or not (1 or 0, default: 0)."); -#include +#include MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Simon Marchi ");