Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121289
b: refs/heads/master
c: d072c25
h: refs/heads/master
i:
  121287: ed86499
v: v3
  • Loading branch information
Markus Metzger authored and Ingo Molnar committed Dec 16, 2008
1 parent 462d10e commit e974ff7
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: cc1dc6d039ced64c2f8b8457bf1cccf4ecfc5942
refs/heads/master: d072c25f531c6513994960401d2c7f059434c0d2
3 changes: 3 additions & 0 deletions trunk/arch/x86/kernel/ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,9 @@ static int bts_read(struct bts_tracer *tracer, const void *at,
out->qualifier = bts_branch;
out->variant.lbr.from = bts_get(at, bts_from);
out->variant.lbr.to = bts_get(at, bts_to);

if (!out->variant.lbr.from && !out->variant.lbr.to)
out->qualifier = bts_invalid;
}

return ds_cfg.sizeof_rec[ds_bts];
Expand Down

0 comments on commit e974ff7

Please sign in to comment.