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-timer.c
diff --git
a/probes/lttng-probe-timer.c
b/probes/lttng-probe-timer.c
index 8abde6dfb37bacf5d4dd8ffed4eced2a6a94c716..a504b1294c258c1e2c847213da9d7db7f84c7b5e 100644
(file)
--- a/
probes/lttng-probe-timer.c
+++ b/
probes/lttng-probe-timer.c
@@
-1,31
+1,38
@@
-/*
- * probes/lttng-probe-timer.c
+/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
*
*
- *
Copyright 2012 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *
probes/lttng-probe-timer.c
*
* LTTng timer probes.
*
*
* LTTng timer probes.
*
- *
Dual LGPL v2.1/GPL v2 license.
+ *
Copyright (C) 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*/
#include <linux/module.h>
*/
#include <linux/module.h>
+#include <lttng-tracer.h>
/*
* Create the tracepoint static inlines from the kernel to validate that our
* trace event macros match the kernel we run on.
*/
/*
* Create the tracepoint static inlines from the kernel to validate that our
* trace event macros match the kernel we run on.
*/
+
#include <linux/sched.h>
#include <trace/events/timer.h>
#include <linux/sched.h>
#include <trace/events/timer.h>
+#include <wrapper/tracepoint.h>
+
/*
* Create LTTng tracepoint probes.
*/
#define LTTNG_PACKAGE_BUILD
#define CREATE_TRACE_POINTS
/*
* 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/lttng-module
-#include
"../instrumentation/events/lttng-module/timer.h"
+#include
<instrumentation/events/lttng-module/timer.h>
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
MODULE_DESCRIPTION("LTTng timer probes");
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
MODULE_DESCRIPTION("LTTng timer 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.023994 seconds
and
4
git commands to generate.