Commit 87f8ea4c authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo Committed by Ingo Molnar

perf symbols: Show messages about module loading only if verbose >= 1

Suggested-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1258903301-20584-1-git-send-email-acme@infradead.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent b197c7ef
...@@ -1189,7 +1189,7 @@ static int dsos__set_modules_path_dir(char *dirname) ...@@ -1189,7 +1189,7 @@ static int dsos__set_modules_path_dir(char *dirname)
DIR *dir = opendir(dirname); DIR *dir = opendir(dirname);
if (!dir) { if (!dir) {
pr_err("%s: cannot open %s dir\n", __func__, dirname); pr_debug("%s: cannot open %s dir\n", __func__, dirname);
return -1; return -1;
} }
...@@ -1500,7 +1500,7 @@ int kernel_maps__init(bool use_modules) ...@@ -1500,7 +1500,7 @@ int kernel_maps__init(bool use_modules)
return -1; return -1;
if (use_modules && kernel_maps__create_module_maps() < 0) if (use_modules && kernel_maps__create_module_maps() < 0)
pr_warning("Failed to load list of modules in use, " pr_debug("Failed to load list of modules in use, "
"continuing...\n"); "continuing...\n");
/* /*
* Now that we have all the maps created, just set the ->end of them: * Now that we have all the maps created, just set the ->end of them:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment