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-v4l2.c
diff --git
a/probes/lttng-probe-v4l2.c
b/probes/lttng-probe-v4l2.c
index 709ccb2ec53e9f2ae27b00e1e8e6349a4f9e17a5..bae153bc38eacb47368265bc684a4ca93e50a72b 100644
(file)
--- a/
probes/lttng-probe-v4l2.c
+++ b/
probes/lttng-probe-v4l2.c
@@
-23,7
+23,8
@@
#include <linux/module.h>
#include <linux/videodev2.h>
#include <linux/module.h>
#include <linux/videodev2.h>
-
+#include <media/videobuf2-core.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.
@@
-35,10
+36,14
@@
*/
#define LTTNG_PACKAGE_BUILD
#define CREATE_TRACE_POINTS
*/
#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/v4l2.h"
+#include
<instrumentation/events/lttng-module/v4l2.h>
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Wade Farnsworth <wade_farnsworth@mentor.com>");
MODULE_DESCRIPTION("LTTng v4l2 probes");
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Wade Farnsworth <wade_farnsworth@mentor.com>");
MODULE_DESCRIPTION("LTTng v4l2 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.023368 seconds
and
4
git commands to generate.