Skip to content

Commit

Permalink
ftrace: fix breakage in bin_fmt results
Browse files Browse the repository at this point in the history
In 777e208 we changed from outputting
field->cpu (a char) to iter->cpu (unsigned int), increasing the resulting
structure size by 3 bytes.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Eric Anholt authored and Ingo Molnar committed Nov 5, 2008
1 parent 42ec632 commit 072ba49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1755,7 +1755,7 @@ static enum print_line_t print_bin_fmt(struct trace_iterator *iter)
return TRACE_TYPE_HANDLED;

SEQ_PUT_FIELD_RET(s, entry->pid);
SEQ_PUT_FIELD_RET(s, iter->cpu);
SEQ_PUT_FIELD_RET(s, entry->cpu);
SEQ_PUT_FIELD_RET(s, iter->ts);

switch (entry->type) {
Expand Down

0 comments on commit 072ba49

Please sign in to comment.