projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: ensure userspace accesses are done with _inatomic
[lttng-modules.git]
/
lttng-syscalls.c
diff --git
a/lttng-syscalls.c
b/lttng-syscalls.c
index ebf32f8ed3274ad7ce90ec14e59a64df23ca390d..a1bc9d422a1fd1d23b67b96827c7dc5eaba8544b 100644
(file)
--- a/
lttng-syscalls.c
+++ b/
lttng-syscalls.c
@@
-29,10
+29,9
@@
#include "lttng-events.h"
#ifndef CONFIG_COMPAT
#include "lttng-events.h"
#ifndef CONFIG_COMPAT
-static inline int is_compat_task(void)
-{
- return 0;
-}
+# ifndef is_compat_task
+# define is_compat_task() (0)
+# endif
#endif
static
#endif
static
@@
-50,7
+49,7
@@
void syscall_entry_probe(void *__data, struct pt_regs *regs, long id);
*/
#define LTTNG_PACKAGE_BUILD
#define CREATE_TRACE_POINTS
*/
#define LTTNG_PACKAGE_BUILD
#define CREATE_TRACE_POINTS
-#define TP_MODULE_
OVERRIDE
+#define TP_MODULE_
NOINIT
#define TRACE_INCLUDE_PATH ../instrumentation/syscalls/headers
#define PARAMS(args...) args
#define TRACE_INCLUDE_PATH ../instrumentation/syscalls/headers
#define PARAMS(args...) args
@@
-108,7
+107,7
@@
void syscall_entry_probe(void *__data, struct pt_regs *regs, long id);
#undef SC_DEFINE_EVENT_NOARGS
#undef TP_PROBE_CB
#undef SC_DEFINE_EVENT_NOARGS
#undef TP_PROBE_CB
-#undef TP_MODULE_
OVERRIDE
+#undef TP_MODULE_
NOINIT
#undef LTTNG_PACKAGE_BUILD
#undef CREATE_TRACE_POINTS
#undef LTTNG_PACKAGE_BUILD
#undef CREATE_TRACE_POINTS
This page took
0.023943 seconds
and
4
git commands to generate.