Re: [PATCH v2 1/6] perf: Refactor svg_build_topology_map

2019-08-16 Thread Jiri Olsa
On Wed, Aug 14, 2019 at 03:38:24PM -0500, Kyle Meyer wrote: SNIP > diff --git a/tools/perf/util/svghelper.c b/tools/perf/util/svghelper.c > index ae6a534a7a80..1beeb7291361 100644 > --- a/tools/perf/util/svghelper.c > +++ b/tools/perf/util/svghelper.c > @@ -751,38 +751,37 @@ static int str_to_bit

[PATCH v2 1/6] perf: Refactor svg_build_topology_map

2019-08-14 Thread Kyle Meyer
Exchange the parameters of svg_build_topology_map with struct perf_env *env and adjust the function accordingly. This patch should not change any behavior, it is merely refactoring for the following patch. Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Alexander Shishkin C