]> Pileus Git - ~andy/linux/blobdiff - kernel/trace/trace.h
tracing: Add rcu annotation for syscall trace descriptors
[~andy/linux] / kernel / trace / trace.h
index 11a04d6eaa23fec3d8f48121e59e8824a2fc0a16..7ca1993c33e412d6c7a89e8fad257e1d631290d6 100644 (file)
@@ -192,8 +192,8 @@ struct trace_array {
 #ifdef CONFIG_FTRACE_SYSCALLS
        int                     sys_refcount_enter;
        int                     sys_refcount_exit;
-       struct ftrace_event_file *enter_syscall_files[NR_syscalls];
-       struct ftrace_event_file *exit_syscall_files[NR_syscalls];
+       struct ftrace_event_file __rcu *enter_syscall_files[NR_syscalls];
+       struct ftrace_event_file __rcu *exit_syscall_files[NR_syscalls];
 #endif
        int                     stop_count;
        int                     clock_id;