X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=probes%2Flttng-probe-i2c.c;h=9dc1c79ead08a1877918f1a5d1ed03ec6ae31229;hb=HEAD;hp=d1c1e099308dccaeae96f03798321c7bf4c65282;hpb=2ca394649a5fb4135bfbe541f090b06ef933a63b;p=lttng-modules.git diff --git a/probes/lttng-probe-i2c.c b/probes/lttng-probe-i2c.c deleted file mode 100644 index d1c1e099..00000000 --- a/probes/lttng-probe-i2c.c +++ /dev/null @@ -1,55 +0,0 @@ -/* - * 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 - -/* - * Create the tracepoint static inlines from the kernel to validate that our - * trace event macros match the kernel we run on. - */ -#include - -/* - * Create LTTng tracepoint probes. - */ -#define LTTNG_PACKAGE_BUILD -#define CREATE_TRACE_POINTS -#define TRACE_INCLUDE_PATH instrumentation/events/lttng-module - -static int extract_sensitive_payload; -module_param(extract_sensitive_payload, int, 0644); -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 - -MODULE_LICENSE("GPL and additional rights"); -MODULE_AUTHOR("Simon Marchi "); -MODULE_DESCRIPTION("LTTng i2c probes"); -MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." - __stringify(LTTNG_MODULES_MINOR_VERSION) "." - __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) - LTTNG_MODULES_EXTRAVERSION);