projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: Adjust ranges for Ubuntu 5.4.0-67 kernel
[lttng-modules.git]
/
tests
/
probes
/
lttng-test.c
diff --git
a/tests/probes/lttng-test.c
b/tests/probes/lttng-test.c
index 79743b80b2a6c9d35eac437769412c401d30aa09..86007e5e73d2cc66d28fdce600fdf49c4ad0a912 100644
(file)
--- a/
tests/probes/lttng-test.c
+++ b/
tests/probes/lttng-test.c
@@
-13,19
+13,24
@@
#include <linux/byteorder/generic.h>
#include <asm/byteorder.h>
#include <linux/byteorder/generic.h>
#include <asm/byteorder.h>
-#include <lttng
-
events.h>
-#include <lttng
-
tracer.h>
+#include <lttng
/
events.h>
+#include <lttng
/
tracer.h>
#include <wrapper/tracepoint.h>
#define TP_MODULE_NOAUTOLOAD
#define LTTNG_PACKAGE_BUILD
#define CREATE_TRACE_POINTS
#include <wrapper/tracepoint.h>
#define TP_MODULE_NOAUTOLOAD
#define LTTNG_PACKAGE_BUILD
#define CREATE_TRACE_POINTS
-#define TRACE_INCLUDE_PATH instrumentation/events
/lttng-module
+#define TRACE_INCLUDE_PATH instrumentation/events
#define TRACE_INCLUDE_FILE lttng-test
#define LTTNG_INSTRUMENTATION
#define TRACE_INCLUDE_FILE lttng-test
#define LTTNG_INSTRUMENTATION
-#include <instrumentation/events/lttng-
module/lttng-
test.h>
+#include <instrumentation/events/lttng-test.h>
-DEFINE_TRACE(lttng_test_filter_event);
+LTTNG_DEFINE_TRACE(lttng_test_filter_event,
+ PARAMS(int anint, int netint, long *values,
+ char *text, size_t textlen,
+ char *etext, uint32_t * net_values),
+ PARAMS(anint, netint, values, text, textlen, etext, net_values)
+);
#define LTTNG_TEST_FILTER_EVENT_FILE "lttng-test-filter-event"
#define LTTNG_TEST_FILTER_EVENT_FILE "lttng-test-filter-event"
@@
-81,7
+86,7
@@
end:
return written;
}
return written;
}
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(5,6,0))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(5,6,0))
static const struct proc_ops lttng_test_filter_event_proc_ops = {
.proc_write = lttng_test_filter_event_write,
};
static const struct proc_ops lttng_test_filter_event_proc_ops = {
.proc_write = lttng_test_filter_event_write,
};
This page took
0.023298 seconds
and
4
git commands to generate.