diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c index ef3b49cde04e6797bf0964c48886f70c51fc8874..6fcc358138aeeab27fb0e60ae8db5574025bc422 100644 --- a/tools/perf/util/machine.c +++ b/tools/perf/util/machine.c @@ -806,7 +806,10 @@ static int machine__create_modules(struct machine *machine) free(line); fclose(file); - return machine__set_modules_path(machine); + if (machine__set_modules_path(machine) < 0) { + pr_debug("Problems setting modules path maps, continuing anyway...\n"); + } + return 0; out_delete_line: free(line);