diff options
Diffstat (limited to 'tools/perf/util/symbol.c')
-rw-r--r-- | tools/perf/util/symbol.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 50958bbeb26a..66c132e52875 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c | |||
@@ -2564,8 +2564,15 @@ int machine__create_kernel_maps(struct machine *machine) | |||
2564 | __machine__create_kernel_maps(machine, kernel) < 0) | 2564 | __machine__create_kernel_maps(machine, kernel) < 0) |
2565 | return -1; | 2565 | return -1; |
2566 | 2566 | ||
2567 | if (symbol_conf.use_modules && machine__create_modules(machine) < 0) | 2567 | if (symbol_conf.use_modules && machine__create_modules(machine) < 0) { |
2568 | pr_debug("Problems creating module maps, continuing anyway...\n"); | 2568 | if (machine__is_host(machine)) |
2569 | pr_debug("Problems creating module maps, " | ||
2570 | "continuing anyway...\n"); | ||
2571 | else | ||
2572 | pr_debug("Problems creating module maps for guest %d, " | ||
2573 | "continuing anyway...\n", machine->pid); | ||
2574 | } | ||
2575 | |||
2569 | /* | 2576 | /* |
2570 | * Now that we have all the maps created, just set the ->end of them: | 2577 | * Now that we have all the maps created, just set the ->end of them: |
2571 | */ | 2578 | */ |