diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c index 95a7f60873466d9447f475d525710ddb7d40f882..bfc289c73c2209a31f0699d24800c8b65220b597 100644 --- a/tools/perf/util/machine.c +++ b/tools/perf/util/machine.c @@ -576,7 +576,7 @@ static void dso__adjust_kmod_long_name(struct dso *dso, const char *filename) if (!dup_filename) return; - dso__set_long_name(dso, filename, true); + dso__set_long_name(dso, dup_filename, true); } struct map *machine__findnew_module_map(struct machine *machine, u64 start,