Skip to content

Commit

Permalink
perf symbols: symbol inconsistency message should be done only at ver…
Browse files Browse the repository at this point in the history
…bose=1

That happened for an old perf.data file that had no fake MMAP events for
the kernel modules, but even then it should warn once for each module,
not one time for every symbol in every module not found.

Reported-by: Ingo Molnar <mingo@elte.hu>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
  • Loading branch information
Arnaldo Carvalho de Melo committed May 17, 2010
1 parent 63aa9e7 commit 2f51903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/perf/util/symbol.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ static int dso__split_kallsyms(struct dso *self, struct map *map,
curr_map = map_groups__find_by_name(kmaps,
map->type, module);
if (curr_map == NULL) {
pr_err("%s/proc/{kallsyms,modules} "
pr_debug("%s/proc/{kallsyms,modules} "
"inconsistency while looking "
"for \"%s\" module!\n",
machine->root_dir, module);
Expand Down

0 comments on commit 2f51903

Please sign in to comment.