Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242517
b: refs/heads/master
c: ce2d17c
h: refs/heads/master
i:
  242515: 53374d3
v: v3
  • Loading branch information
Akihiro Nagai authored and Ingo Molnar committed Mar 23, 2011
1 parent 26ba816 commit 634620b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: e1eb029081f9cd4f73bdd05d495e5011839546f5
refs/heads/master: ce2d17ca7f85dcade62cd608601a0d52ccdaf0e6
4 changes: 3 additions & 1 deletion trunk/tools/perf/builtin-top.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,9 @@ static void handle_keypress(struct perf_session *session, int c)
break;
case 'E':
if (top.evlist->nr_entries > 1) {
int counter;
/* Select 0 as the default event: */
int counter = 0;

fprintf(stderr, "\nAvailable events:");

list_for_each_entry(top.sym_evsel, &top.evlist->entries, node)
Expand Down

0 comments on commit 634620b

Please sign in to comment.