tracing: Rename ftrace_event_{call,class} to trace_event_{call,class}
[linux-2.6-block.git] / include / linux / syscalls.h
index 76d1e38aabe1ddf3187c01ffdccf3aa58ac39bcf..d8b06abb264f3f65a50c72cd8e5437be89296262 100644 (file)
@@ -111,14 +111,14 @@ union bpf_attr;
 #define __SC_STR_ADECL(t, a)   #a
 #define __SC_STR_TDECL(t, a)   #t
 
-extern struct ftrace_event_class event_class_syscall_enter;
-extern struct ftrace_event_class event_class_syscall_exit;
+extern struct trace_event_class event_class_syscall_enter;
+extern struct trace_event_class event_class_syscall_exit;
 extern struct trace_event_functions enter_syscall_print_funcs;
 extern struct trace_event_functions exit_syscall_print_funcs;
 
 #define SYSCALL_TRACE_ENTER_EVENT(sname)                               \
        static struct syscall_metadata __syscall_meta_##sname;          \
-       static struct ftrace_event_call __used                          \
+       static struct trace_event_call __used                           \
          event_enter_##sname = {                                       \
                .class                  = &event_class_syscall_enter,   \
                {                                                       \
@@ -128,13 +128,13 @@ extern struct trace_event_functions exit_syscall_print_funcs;
                .data                   = (void *)&__syscall_meta_##sname,\
                .flags                  = TRACE_EVENT_FL_CAP_ANY,       \
        };                                                              \
-       static struct ftrace_event_call __used                          \
+       static struct trace_event_call __used                           \
          __attribute__((section("_ftrace_events")))                    \
         *__event_enter_##sname = &event_enter_##sname;
 
 #define SYSCALL_TRACE_EXIT_EVENT(sname)                                        \
        static struct syscall_metadata __syscall_meta_##sname;          \
-       static struct ftrace_event_call __used                          \
+       static struct trace_event_call __used                           \
          event_exit_##sname = {                                        \
                .class                  = &event_class_syscall_exit,    \
                {                                                       \
@@ -144,7 +144,7 @@ extern struct trace_event_functions exit_syscall_print_funcs;
                .data                   = (void *)&__syscall_meta_##sname,\
                .flags                  = TRACE_EVENT_FL_CAP_ANY,       \
        };                                                              \
-       static struct ftrace_event_call __used                          \
+       static struct trace_event_call __used                           \
          __attribute__((section("_ftrace_events")))                    \
        *__event_exit_##sname = &event_exit_##sname;