projects
/
deliverable
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: Move lib/ringbuffer/ headers to include/ringbuffer/
[deliverable/lttng-modules.git]
/
probes
/
lttng-probe-sched.c
diff --git
a/probes/lttng-probe-sched.c
b/probes/lttng-probe-sched.c
index 99aadc46c21681bd9ca31f48dd8ee634e9b580d3..577cb4088a9d8406d35029a3f7593f00eb362043 100644
(file)
--- a/
probes/lttng-probe-sched.c
+++ b/
probes/lttng-probe-sched.c
@@
-1,22
+1,36
@@
-/*
- * probes/lttng-probe-sched.c
+/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
*
*
- *
Copyright 2010 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *
probes/lttng-probe-sched.c
*
* LTTng sched probes.
*
* LTTng sched probes.
+ *
+ * Copyright (C) 2010-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.
+ */
+#include <trace/events/sched.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
-#
undef CONFIG_EVENT_TRACING /* Don't create Ftrace probes */
+#
define TRACE_INCLUDE_PATH instrumentation/events/lttng-module
-#include <
trace/events
/sched.h>
+#include <
instrumentation/events/lttng-module
/sched.h>
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
MODULE_DESCRIPTION("LTTng sched probes");
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
MODULE_DESCRIPTION("LTTng sched 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.024166 seconds
and
5
git commands to generate.