Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304927
b: refs/heads/master
c: 40491ea
h: refs/heads/master
i:
  304925: d15288d
  304923: 2c7ce0e
  304919: d38823f
  304911: 5b4ab88
  304895: a375f8b
v: v3
  • Loading branch information
David Ahern authored and Arnaldo Carvalho de Melo committed May 9, 2012
1 parent 0700ae5 commit d6aa758
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 979987a567d9e666fe719f337409b2fbb6418f5f
refs/heads/master: 40491eaa46a693e8c6ef94102350a747c63e584d
4 changes: 4 additions & 0 deletions trunk/tools/perf/builtin-top.c
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,10 @@ static void perf_top__start_counters(struct perf_top *top)

attr->type = PERF_TYPE_SOFTWARE;
attr->config = PERF_COUNT_SW_CPU_CLOCK;
if (counter->name) {
free(counter->name);
counter->name = strdup(event_name(counter));
}
goto try_again;
}

Expand Down

0 comments on commit d6aa758

Please sign in to comment.