[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190306210828.yvhifeczc7mfloqi@two.firstfloor.org>
Date: Wed, 6 Mar 2019 13:08:29 -0800
From: Andi Kleen <andi@...stfloor.org>
To: Arnaldo Carvalho de Melo <arnaldo.melo@...il.com>
Cc: Andi Kleen <andi@...stfloor.org>, jolsa@...nel.org,
namhyung@...nel.org, linux-kernel@...r.kernel.org,
linux-perf-users@...r.kernel.org, Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH v4 01/15] perf tools: Add utility function to fetch
executable
> . No need to cast around, make 'buf' be a void pointer
>
> . Rename it to thread__memcpy() to reflect the fact it is about copying
> a chunk of memory from a thread, i.e. from its address space.
>
> . No need to have it in a separate object file, move it to thread.[ch]
>
> . Check the return of map__load(), the original code didn't do it, but
> since we're moving this around, check that as well, could be moved to
> a separate patch tho.
Changes look good. Thanks Arnaldo.
-Andi
Powered by blists - more mailing lists