Skip to content

Commit

Permalink
Merge pull request #320 from iovisor/offcputime_fix
Browse files Browse the repository at this point in the history
Add decode() to ascii string in offcputime.py
  • Loading branch information
drzaeus77 committed Jan 27, 2016
2 parents d38d3f1 + d234ad7 commit b0b3f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/offcputime.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def signal_ignore(signal, frame):
for k, v in sorted(counts.items(), key=lambda counts: counts[1].value):
if folded:
# print folded stack output
line = k.name + ";"
line = k.name.decode() + ";"
for i in reversed(range(0, maxdepth)):
if k.ret[i] == 0:
continue
Expand Down

0 comments on commit b0b3f01

Please sign in to comment.