Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f51903b authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo
Browse files

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: default avatarIngo Molnar <mingo@elte.hu>
LKML-Reference: <new-submission>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 63aa9e7e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -525,7 +525,7 @@ static int dso__split_kallsyms(struct dso *self, struct map *map,
				curr_map = map_groups__find_by_name(kmaps,
				curr_map = map_groups__find_by_name(kmaps,
							map->type, module);
							map->type, module);
				if (curr_map == NULL) {
				if (curr_map == NULL) {
					pr_err("%s/proc/{kallsyms,modules} "
					pr_debug("%s/proc/{kallsyms,modules} "
					         "inconsistency while looking "
					         "inconsistency while looking "
						 "for \"%s\" module!\n",
						 "for \"%s\" module!\n",
						 machine->root_dir, module);
						 machine->root_dir, module);