Re: [PATCH v5 01/15] perf tools: Add utility function to fetch executable

From: Jiri Olsa
Date: Mon Mar 11 2019 - 08:32:47 EST


On Fri, Mar 08, 2019 at 09:56:14PM -0800, Andi Kleen wrote:
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> Add a utility function to fetch executable code. Convert one
> user over to it. There are more places doing that, but they
> do significantly different actions, so they are not
> easy to fit into a single library function.

fyi, Arnaldo added thread__memcpy based on your patch:

153259382633 perf thread: Generalize function to copy from thread addr space from intel-bts code

jirka