Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146101
b: refs/heads/master
c: 00c81a5
h: refs/heads/master
i:
  146099: 44e7519
v: v3
  • Loading branch information
Steven Rostedt authored and Steven Rostedt committed May 6, 2009
1 parent 242ca31 commit 392cbef
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 8e7abf1c62941ebb7a1416cbc62392c8a0902625
refs/heads/master: 00c81a58c5b4e0de14ee33bfbc3d71c90f69f9ea
3 changes: 3 additions & 0 deletions trunk/kernel/trace/ring_buffer_benchmark.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ static enum event_status read_page(int cpu)
int i;

bpage = ring_buffer_alloc_read_page(buffer);
if (!bpage)
return EVENT_DROPPED;

ret = ring_buffer_read_page(buffer, &bpage, PAGE_SIZE, cpu, 1);
if (ret >= 0) {
rpage = bpage;
Expand Down

0 comments on commit 392cbef

Please sign in to comment.