projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Silence compiler "always false comparison" warning
[lttng-modules.git]
/
probes
/
lttng-probe-statedump.c
diff --git
a/probes/lttng-probe-statedump.c
b/probes/lttng-probe-statedump.c
index 328e8ed3bb42f714fca6dac72f792ced6879ad93..7fbf388338bc26c91229a61988f18754b64871f0 100644
(file)
--- a/
probes/lttng-probe-statedump.c
+++ b/
probes/lttng-probe-statedump.c
@@
-1,16
+1,22
@@
-/*
- * probes/lttng-probe-statedump.c
+/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
*
*
- *
Copyright 2010 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *
probes/lttng-probe-statedump.c
*
* LTTng statedump probes.
*
*
* LTTng statedump probes.
*
- *
Dual LGPL v2.1/GPL v2 license.
+ *
Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*/
#include <linux/module.h>
#include <linux/interrupt.h>
*/
#include <linux/module.h>
#include <linux/interrupt.h>
-#include "../lttng-events.h"
+#include <linux/netlink.h>
+#include <linux/inet.h>
+#include <linux/ip.h>
+#include <linux/netdevice.h>
+#include <linux/inetdevice.h>
+#include <linux/sched.h>
+#include <lttng-events.h>
+#include <lttng-tracer.h>
/*
* Create LTTng tracepoint probes.
/*
* Create LTTng tracepoint probes.
@@
-18,11
+24,15
@@
#define LTTNG_PACKAGE_BUILD
#define CREATE_TRACE_POINTS
#define TP_SESSION_CHECK
#define LTTNG_PACKAGE_BUILD
#define CREATE_TRACE_POINTS
#define TP_SESSION_CHECK
-#define TRACE_INCLUDE_PATH
../
instrumentation/events/lttng-module
+#define TRACE_INCLUDE_PATH instrumentation/events/lttng-module
#define TRACE_INCLUDE_FILE lttng-statedump
#define TRACE_INCLUDE_FILE lttng-statedump
-#include
"../instrumentation/events/lttng-module/lttng-statedump.h"
+#include
<instrumentation/events/lttng-module/lttng-statedump.h>
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
MODULE_DESCRIPTION("LTTng statedump probes");
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
MODULE_DESCRIPTION("LTTng statedump probes");
+MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "."
+ __stringify(LTTNG_MODULES_MINOR_VERSION) "."
+ __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION)
+ LTTNG_MODULES_EXTRAVERSION);
This page took
0.023975 seconds
and
4
git commands to generate.