projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: y2038: hide timeval/timespec/itimerval/itimerspec types (v5.6)
[lttng-modules.git]
/
probes
/
lttng.c
diff --git
a/probes/lttng.c
b/probes/lttng.c
index 65f9061a641add2b413b70f5197a8936d1b8a7c8..09045fac18529702ad2ceac0ce7319c8cf2f549b 100644
(file)
--- a/
probes/lttng.c
+++ b/
probes/lttng.c
@@
-28,16
+28,17
@@
#include <linux/proc_fs.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/proc_fs.h>
#include <linux/slab.h>
#include <linux/mm.h>
-#include
"../wrapper/vmalloc.h"
-#include
"../lttng-events.h"
+#include
<wrapper/vmalloc.h>
+#include
<lttng-events.h>
#define TP_MODULE_NOAUTOLOAD
#define LTTNG_PACKAGE_BUILD
#define CREATE_TRACE_POINTS
#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/lttng-module
#define TRACE_INCLUDE_FILE lttng
#define TRACE_INCLUDE_FILE lttng
+#define LTTNG_INSTRUMENTATION
-#include
"../instrumentation/events/lttng-module/lttng.h"
+#include
<instrumentation/events/lttng-module/lttng.h>
/* Events written through logger are truncated at 1024 bytes */
#define LTTNG_LOGGER_COUNT_MAX 1024
/* Events written through logger are truncated at 1024 bytes */
#define LTTNG_LOGGER_COUNT_MAX 1024
@@
-64,7
+65,7
@@
static
ssize_t lttng_logger_write(struct file *file, const char __user *user_buf,
size_t count, loff_t *ppos)
{
ssize_t lttng_logger_write(struct file *file, const char __user *user_buf,
size_t count, loff_t *ppos)
{
-
unsigned
int nr_pages = 1, i;
+ int nr_pages = 1, i;
unsigned long uaddr = (unsigned long) user_buf;
struct page *pages[2];
ssize_t written;
unsigned long uaddr = (unsigned long) user_buf;
struct page *pages[2];
ssize_t written;
@@
-128,7
+129,7
@@
error:
return ret;
}
return ret;
}
-void
__exit
lttng_logger_exit(void)
+void lttng_logger_exit(void)
{
__lttng_events_exit__lttng();
if (lttng_logger_dentry)
{
__lttng_events_exit__lttng();
if (lttng_logger_dentry)
This page took
0.023324 seconds
and
4
git commands to generate.