Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205267
b: refs/heads/master
c: 84c104a
h: refs/heads/master
i:
  205265: 0eea6e9
  205263: 82c1e01
v: v3
  • Loading branch information
Andy Isaacson authored and Arnaldo Carvalho de Melo committed Jun 17, 2010
1 parent ba0290a commit f8d3f83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 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: 9ed7e1b85cd55dc46cb9410a23086bdaa2ff3eb9
refs/heads/master: 84c104ad429c8a474b93dd374815d1c238032fa8
10 changes: 4 additions & 6 deletions trunk/tools/perf/util/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,10 @@ void trace_event(event_t *event)
dump_printf_color(" ", color);
for (j = 0; j < 15-(i & 15); j++)
dump_printf_color(" ", color);
for (j = 0; j < (i & 15); j++) {
if (isprint(raw_event[i-15+j]))
dump_printf_color("%c", color,
raw_event[i-15+j]);
else
dump_printf_color(".", color);
for (j = i & ~15; j <= i; j++) {
dump_printf_color("%c", color,
isprint(raw_event[j]) ?
raw_event[j] : '.');
}
dump_printf_color("\n", color);
}
Expand Down

0 comments on commit f8d3f83

Please sign in to comment.