Skip to content

Commit

Permalink
tracing: Fix event alignment: module:module_request
Browse files Browse the repository at this point in the history
Acked-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: David Sharp <dhsharp@google.com>
LKML-Reference: <1291421609-14665-7-git-send-email-dhsharp@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
  • Loading branch information
David Sharp authored and Steven Rostedt committed Mar 10, 2011
1 parent 140e4f2 commit b5e3008
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/trace/events/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,14 @@ TRACE_EVENT(module_request,
TP_ARGS(name, wait, ip),

TP_STRUCT__entry(
__field( bool, wait )
__field( unsigned long, ip )
__field( bool, wait )
__string( name, name )
),

TP_fast_assign(
__entry->wait = wait;
__entry->ip = ip;
__entry->wait = wait;
__assign_str(name, name);
),

Expand All @@ -129,4 +129,3 @@ TRACE_EVENT(module_request,

/* This part must be outside protection */
#include <trace/define_trace.h>

0 comments on commit b5e3008

Please sign in to comment.