aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-05-17 16:57:59 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-05-17 16:57:59 -0400
commit2f51903bc3139e25ec908f8944a0001c7b868e90 (patch)
tree1aa0f66347d73b4951f50306625a707b840535f4 /tools/perf/util/symbol.c
parent63aa9e7e3ab28ad5362502b1a69fae945367ad65 (diff)
perf symbols: symbol inconsistency message should be done only at verbose=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>
Diffstat (limited to 'tools/perf/util/symbol.c')
-rw-r--r--tools/perf/util/symbol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c
index ecccc8df128e..a06131f6259a 100644
--- a/tools/perf/util/symbol.c
+++ b/tools/perf/util/symbol.c
@@ -525,7 +525,7 @@ static int dso__split_kallsyms(struct dso *self, struct map *map,
525 curr_map = map_groups__find_by_name(kmaps, 525 curr_map = map_groups__find_by_name(kmaps,
526 map->type, module); 526 map->type, module);
527 if (curr_map == NULL) { 527 if (curr_map == NULL) {
528 pr_err("%s/proc/{kallsyms,modules} " 528 pr_debug("%s/proc/{kallsyms,modules} "
529 "inconsistency while looking " 529 "inconsistency while looking "
530 "for \"%s\" module!\n", 530 "for \"%s\" module!\n",
531 machine->root_dir, module); 531 machine->root_dir, module);