perf symbols: symbol inconsistency message should be done only at verbose=1
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 May 2010 20:57:59 +0000 (17:57 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 May 2010 20:57:59 +0000 (17:57 -0300)
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>
tools/perf/util/symbol.c

index ecccc8df128e0a4ecf51f159862329a11c8b6485..a06131f6259a1dd5b65fee74d73a0de33eaa0d03 100644 (file)
@@ -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);