Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298341
b: refs/heads/master
c: 12b5da3
h: refs/heads/master
i:
  298339: a49da90
v: v3
  • Loading branch information
Steven Rostedt authored and Steven Rostedt committed Mar 27, 2012
1 parent 3852aa3 commit bbb2a50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2c86bf172e550b4bf089ac7f0de3f6370e243842
refs/heads/master: 12b5da349a8b94c9dbc3430a6bc42eabd9eaf50b
4 changes: 4 additions & 0 deletions trunk/kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1698,6 +1698,7 @@ __find_next_entry(struct trace_iterator *iter, int *ent_cpu,
int cpu_file = iter->cpu_file;
u64 next_ts = 0, ts;
int next_cpu = -1;
int next_size = 0;
int cpu;

/*
Expand Down Expand Up @@ -1729,9 +1730,12 @@ __find_next_entry(struct trace_iterator *iter, int *ent_cpu,
next_cpu = cpu;
next_ts = ts;
next_lost = lost_events;
next_size = iter->ent_size;
}
}

iter->ent_size = next_size;

if (ent_cpu)
*ent_cpu = next_cpu;

Expand Down

0 comments on commit bbb2a50

Please sign in to comment.