Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169570
b: refs/heads/master
c: 900b20d
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Nov 2, 2009
1 parent 3f78fab commit bbbb81b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 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: d70a5402f9c2e2671b809363616b3508b4c5a565
refs/heads/master: 900b20d5900045fb9b48f2fb3d80cbdbae3f44c0
13 changes: 6 additions & 7 deletions trunk/tools/perf/util/map.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,12 @@ map__find_symbol(struct map *self, u64 ip, symbol_filter_t filter)
const size_t real_len = len - sizeof(DSO__DELETED);

if (len > sizeof(DSO__DELETED) &&
strcmp(name + real_len + 1, DSO__DELETED) == 0)
pr_warning("%.*s was updated, restart the "
"long running apps that use it!\n",
real_len, name);
else
pr_warning("no symbols found in %s, maybe "
"install a debug package?\n", name);
strcmp(name + real_len + 1, DSO__DELETED) == 0) {
pr_warning("%.*s was updated, restart the long running apps that use it!\n",
(int)real_len, name);
} else {
pr_warning("no symbols found in %s, maybe install a debug package?\n", name);
}
return NULL;
}
}
Expand Down

0 comments on commit bbbb81b

Please sign in to comment.