projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: reuse code in accept() and accept4() instrumentation
[lttng-modules.git]
/
probes
/
lttng-probe-statedump.c
diff --git
a/probes/lttng-probe-statedump.c
b/probes/lttng-probe-statedump.c
index fc2af91df883b5c50e0d0329b4f8bbc986b98d2a..91e892a94f21147e641c888a6108040ddb1bbfab 100644
(file)
--- a/
probes/lttng-probe-statedump.c
+++ b/
probes/lttng-probe-statedump.c
@@
-28,7
+28,8
@@
#include <linux/netdevice.h>
#include <linux/inetdevice.h>
#include <linux/sched.h>
#include <linux/netdevice.h>
#include <linux/inetdevice.h>
#include <linux/sched.h>
-#include "../lttng-events.h"
+#include <lttng-events.h>
+#include <lttng-tracer.h>
/*
* Create LTTng tracepoint probes.
/*
* Create LTTng tracepoint probes.
@@
-36,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.024148 seconds
and
4
git commands to generate.