projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: update sched prev_state instrumentation for upstream kernel
[lttng-modules.git]
/
probes
/
lttng-probe-statedump.c
diff --git
a/probes/lttng-probe-statedump.c
b/probes/lttng-probe-statedump.c
index 9232a518b687f6532987c8810b8e4b3ecaebcdf8..91e892a94f21147e641c888a6108040ddb1bbfab 100644
(file)
--- a/
probes/lttng-probe-statedump.c
+++ b/
probes/lttng-probe-statedump.c
@@
-27,7
+27,9
@@
#include <linux/ip.h>
#include <linux/netdevice.h>
#include <linux/inetdevice.h>
#include <linux/ip.h>
#include <linux/netdevice.h>
#include <linux/inetdevice.h>
-#include "../lttng-events.h"
+#include <linux/sched.h>
+#include <lttng-events.h>
+#include <lttng-tracer.h>
/*
* Create LTTng tracepoint probes.
/*
* Create LTTng tracepoint probes.
@@
-35,11
+37,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.023708 seconds
and
4
git commands to generate.