Re: [PATCH 02/13 v4] perf tools: Use allocator for perf_cpu_map

2020-11-17 Thread James Clark
On 15/11/2020 23:17, Jiri Olsa wrote: > On Fri, Nov 13, 2020 at 07:26:43PM +0200, James Clark wrote: >> Use the existing allocator for perf_cpu_map to avoid use >> of raw malloc. This could cause an issue in later commits >> where the size of perf_cpu_map is changed. >> >> No functional changes.

Re: [PATCH 02/13 v4] perf tools: Use allocator for perf_cpu_map

2020-11-15 Thread Jiri Olsa
On Fri, Nov 13, 2020 at 07:26:43PM +0200, James Clark wrote: > Use the existing allocator for perf_cpu_map to avoid use > of raw malloc. This could cause an issue in later commits > where the size of perf_cpu_map is changed. > > No functional changes. > > Signed-off-by: James Clark > Cc: Peter Z

[PATCH 02/13 v4] perf tools: Use allocator for perf_cpu_map

2020-11-13 Thread James Clark
Use the existing allocator for perf_cpu_map to avoid use of raw malloc. This could cause an issue in later commits where the size of perf_cpu_map is changed. No functional changes. Signed-off-by: James Clark Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Mark Rutland Cc: