Re: [PATCH 5/5] perf tools: Transform nodes string info to struct

2016-06-30 Thread Jiri Olsa
On Thu, Jun 30, 2016 at 06:20:09PM -0300, Arnaldo Carvalho de Melo wrote: SNIP > > > > +struct numa_node { > > + u32 node; > > + u64 mem_total; > > + u64 mem_free; > > + struct cpu_map *map; > > +}; > > + > > struct perf_env { > > char

Re: [PATCH 5/5] perf tools: Transform nodes string info to struct

2016-06-30 Thread Arnaldo Carvalho de Melo
Em Tue, Jun 28, 2016 at 01:29:05PM +0200, Jiri Olsa escreveu: > Storing NUMA info within struct numa_node instead > of strings. This way it's usable in future patches. > > Also it turned out it's slightly less code involved > than using strings. > > Link: http://lkml.kernel.org/n/tip-ka37sax3gfax