Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128206
b: refs/heads/master
c: dbe6e28
h: refs/heads/master
v: v3
  • Loading branch information
Robert Richter committed Jan 7, 2009
1 parent daf7a92 commit ed126f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3967e93e063d7ee608f465cbccb65abb518e9d33
refs/heads/master: dbe6e2835e32461e7d592077947081c32f3da1d5
7 changes: 2 additions & 5 deletions trunk/drivers/oprofile/buffer_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ static void add_ibs_begin(int cpu, int code, struct mm_struct *mm)

sample = op_cpu_buffer_read_entry(cpu);
if (!sample)
goto Error;
return;
rip = sample->eip;

#ifdef __LP64__
Expand Down Expand Up @@ -372,15 +372,12 @@ static void add_ibs_begin(int cpu, int code, struct mm_struct *mm)
for (i = 0; i < count; i++) {
sample = op_cpu_buffer_read_entry(cpu);
if (!sample)
goto Error;
return;
add_event_entry(sample->eip);
add_event_entry(sample->event);
}

return;

Error:
return;
}

#endif
Expand Down

0 comments on commit ed126f0

Please sign in to comment.