Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155178
b: refs/heads/master
c: 3a3393e
h: refs/heads/master
v: v3
  • Loading branch information
Anton Blanchard authored and Ingo Molnar committed Jun 30, 2009
1 parent 4e520a6 commit 182bc8a
Show file tree
Hide file tree
Showing 2 changed files with 10 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: 2ab52083ffc057014e502cf3473adc41436922fa
refs/heads/master: 3a3393ef75a14ae259a82f3f38624efa17884168
9 changes: 9 additions & 0 deletions trunk/tools/perf/builtin-top.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ char *skip_symbols[] = {
"enter_idle",
"exit_idle",
"mwait_idle",
"ppc64_runlatch_off",
"pseries_dedicated_idle_sleep",
NULL
};

Expand All @@ -303,6 +305,13 @@ static int symbol_filter(struct dso *self, struct symbol *sym)
const char *name = sym->name;
int i;

/*
* ppc64 uses function descriptors and appends a '.' to the
* start of every instruction address. Remove it.
*/
if (name[0] == '.')
name++;

if (!strcmp(name, "_text") ||
!strcmp(name, "_etext") ||
!strcmp(name, "_sinittext") ||
Expand Down

0 comments on commit 182bc8a

Please sign in to comment.