Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128209
b: refs/heads/master
c: 8350c78
h: refs/heads/master
i:
  128207: 765258a
v: v3
  • Loading branch information
Robert Richter committed Jan 7, 2009
1 parent b10c915 commit 134d9a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 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: f4ff2364417f0092e49f6a3aa474549a56697f2d
refs/heads/master: 8350c78734e67ac1f8bfd4eb14b70ff4d01a9a12
2 changes: 0 additions & 2 deletions trunk/drivers/oprofile/buffer_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,11 +557,9 @@ void sync_buffer(int cpu)
break;
#ifdef CONFIG_OPROFILE_IBS
case IBS_FETCH_BEGIN:
state = sb_bt_start;
add_ibs_begin(cpu, IBS_FETCH_CODE, mm);
break;
case IBS_OP_BEGIN:
state = sb_bt_start;
add_ibs_begin(cpu, IBS_OP_CODE, mm);
break;
#endif
Expand Down
10 changes: 2 additions & 8 deletions trunk/drivers/oprofile/cpu_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,17 +347,11 @@ void oprofile_add_ibs_sample(struct pt_regs * const regs,
fail = fail || add_sample(cpu_buf, ibs_sample[10], ibs_sample[11]);
}

if (fail)
goto fail;

if (oprofile_backtrace_depth)
oprofile_ops.backtrace(regs, oprofile_backtrace_depth);

return;
if (!fail)
return;

fail:
cpu_buf->sample_lost_overflow++;
return;
}

#endif
Expand Down

0 comments on commit 134d9a2

Please sign in to comment.