Re: [PATCH 2/9] perf tools: load kernel maps before using

From: Ingo Molnar
Date: Thu Jul 25 2013 - 16:10:36 EST



* Adrian Hunter <adrian.hunter@xxxxxxxxx> wrote:

> In order to use kernel maps to read object code, those
> maps must be adjusted to map to the dso file offset.
> Because lazy-initialzation is used, that is not done

s/initialization

> until symbols are loaded. However the maps are first
> used by thread__find_addr_map() before symbols are loaded.
> So this patch changes thread__find_addr() to "load" kernel
> maps before using them.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/