X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-i2c.c;h=728132b7dab438d1ffaec8a36b5f7eff7e19f25e;hb=HEAD;hp=7c99bf86390c309783f18de0dcecaa989a0c0b2f;hpb=2df37e95fa4303ecc0db41334452665491533641;p=lttng-modules.git diff --git a/probes/lttng-probe-i2c.c b/probes/lttng-probe-i2c.c deleted file mode 100644 index 7c99bf86..00000000 --- a/probes/lttng-probe-i2c.c +++ /dev/null @@ -1,42 +0,0 @@ -/* 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 - */ - -#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);