aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-11-22 10:21:41 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-22 12:54:24 -0500
commit87f8ea4cd3680ef7f4da4391aed97abb25eae333 (patch)
treee7ad986a77210d3617f716383b1015117570e744 /tools/perf/util/symbol.c
parentb197c7ef7169bd5f11fb9d803b322d0daef7e256 (diff)
perf symbols: Show messages about module loading only if verbose >= 1
Suggested-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arnaldo 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: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/symbol.c')
-rw-r--r--tools/perf/util/symbol.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c
index f56158fb4dc9..74b5b8a16951 100644
--- a/tools/perf/util/symbol.c
+++ b/tools/perf/util/symbol.c
@@ -1189,7 +1189,7 @@ static int dsos__set_modules_path_dir(char *dirname)
1189 DIR *dir = opendir(dirname); 1189 DIR *dir = opendir(dirname);
1190 1190
1191 if (!dir) { 1191 if (!dir) {
1192 pr_err("%s: cannot open %s dir\n", __func__, dirname); 1192 pr_debug("%s: cannot open %s dir\n", __func__, dirname);
1193 return -1; 1193 return -1;
1194 } 1194 }
1195 1195
@@ -1500,8 +1500,8 @@ int kernel_maps__init(bool use_modules)
1500 return -1; 1500 return -1;
1501 1501
1502 if (use_modules && kernel_maps__create_module_maps() < 0) 1502 if (use_modules && kernel_maps__create_module_maps() < 0)
1503 pr_warning("Failed to load list of modules in use, " 1503 pr_debug("Failed to load list of modules in use, "
1504 "continuing...\n"); 1504 "continuing...\n");
1505 /* 1505 /*
1506 * Now that we have all the maps created, just set the ->end of them: 1506 * Now that we have all the maps created, just set the ->end of them:
1507 */ 1507 */