tracing: Fix event alignment: ftrace:context_switch and ftrace:wakeup
authorDavid Sharp <dhsharp@google.com>
Sat, 4 Dec 2010 00:13:19 +0000 (16:13 -0800)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 10 Mar 2011 15:34:16 +0000 (10:34 -0500)
Signed-off-by: David Sharp <dhsharp@google.com>
LKML-Reference: <1291421609-14665-6-git-send-email-dhsharp@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_entries.h

index 6cf223764be8aa72489567b90f44fb03d3fb7249..1516cb3ec549a1bd090df147cc156686df3fcd6a 100644 (file)
@@ -109,12 +109,12 @@ FTRACE_ENTRY(funcgraph_exit, ftrace_graph_ret_entry,
  */
 #define FTRACE_CTX_FIELDS                                      \
        __field(        unsigned int,   prev_pid        )       \
+       __field(        unsigned int,   next_pid        )       \
+       __field(        unsigned int,   next_cpu        )       \
        __field(        unsigned char,  prev_prio       )       \
        __field(        unsigned char,  prev_state      )       \
-       __field(        unsigned int,   next_pid        )       \
        __field(        unsigned char,  next_prio       )       \
-       __field(        unsigned char,  next_state      )       \
-       __field(        unsigned int,   next_cpu        )
+       __field(        unsigned char,  next_state      )
 
 FTRACE_ENTRY(context_switch, ctx_switch_entry,