|
@@ -124,7 +124,8 @@ extern struct trace_event_functions enter_syscall_print_funcs;
|
|
extern struct trace_event_functions exit_syscall_print_funcs;
|
|
extern struct trace_event_functions exit_syscall_print_funcs;
|
|
|
|
|
|
#define SYSCALL_TRACE_ENTER_EVENT(sname) \
|
|
#define SYSCALL_TRACE_ENTER_EVENT(sname) \
|
|
- static struct syscall_metadata __syscall_meta_##sname; \
|
|
|
|
|
|
+ static struct syscall_metadata \
|
|
|
|
+ __attribute__((__aligned__(4))) __syscall_meta_##sname; \
|
|
static struct ftrace_event_call \
|
|
static struct ftrace_event_call \
|
|
__attribute__((__aligned__(4))) event_enter_##sname; \
|
|
__attribute__((__aligned__(4))) event_enter_##sname; \
|
|
static struct ftrace_event_call __used \
|
|
static struct ftrace_event_call __used \
|
|
@@ -138,7 +139,8 @@ extern struct trace_event_functions exit_syscall_print_funcs;
|
|
}
|
|
}
|
|
|
|
|
|
#define SYSCALL_TRACE_EXIT_EVENT(sname) \
|
|
#define SYSCALL_TRACE_EXIT_EVENT(sname) \
|
|
- static struct syscall_metadata __syscall_meta_##sname; \
|
|
|
|
|
|
+ static struct syscall_metadata \
|
|
|
|
+ __attribute__((__aligned__(4))) __syscall_meta_##sname; \
|
|
static struct ftrace_event_call \
|
|
static struct ftrace_event_call \
|
|
__attribute__((__aligned__(4))) event_exit_##sname; \
|
|
__attribute__((__aligned__(4))) event_exit_##sname; \
|
|
static struct ftrace_event_call __used \
|
|
static struct ftrace_event_call __used \
|