Skip to content

Commit

Permalink
Merge pull request iovisor#432 from iovisor/bblanco_dev
Browse files Browse the repository at this point in the history
Enable python3 compatible strings in biosnoop
  • Loading branch information
brendangregg committed Mar 10, 2016
2 parents afc1180 + aa85f33 commit 4ee0b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/biosnoop.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def print_event(cpu, data, size):
if event.rwflag == 0:
rwflg = "R"

if not re.match('\?', event.name):
if not re.match(b'\?', event.name):
val = event.sector

if start_ts == 0:
Expand Down

0 comments on commit 4ee0b76

Please sign in to comment.