[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20190813210533.99237-1-meyerk@stormcage.eag.rdlabs.hpecorp.net>
Date: Tue, 13 Aug 2019 16:05:33 -0500
From: Kyle Meyer <meyerk@....com>
To: unlisted-recipients:; (no To-header on input)
Cc: Kyle Meyer <meyerk@....com>, Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...hat.com>,
Namhyung Kim <namhyung@...nel.org>,
linux-kernel@...r.kernel.org,
Russ Anderson <russ.anderson@....com>,
Kyle Meyer <kyle.meyer@....com>
Subject: [PATCH 0/2] perf: Refactor perf and replace MAX_NR_CPUS
Although the macro MAX_NR_CPUS has been increased to 2048 it would be nice to
replace it with a dynamic value. The purpose of this patch series is to replace
MAX_NR_CPUS throughout perf wherever possible.
Kyle Meyer (2):
Refactor svg_build_topology_map
Replace MAX_NR_CPUS with dynamic alternatives
tools/perf/builtin-timechart.c | 5 +----
tools/perf/util/header.c | 6 ++---
tools/perf/util/machine.c | 11 +++++-----
tools/perf/util/session.c | 6 ++---
tools/perf/util/stat.c | 4 ++--
tools/perf/util/svghelper.c | 50 ++++++++++++++++++++----------------------
tools/perf/util/svghelper.h | 4 +++-
7 files changed, 42 insertions(+), 44 deletions(-)
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Ingo Molnar <mingo@...hat.com>
Cc: Arnaldo Carvalho de Melo <acme@...nel.org>
Cc: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Jiri Olsa <jolsa@...hat.com>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: linux-kernel@...r.kernel.org
Cc: Russ Anderson <russ.anderson@....com>
Signed-off-by: Kyle Meyer <kyle.meyer@....com>
--
2.12.3
Powered by blists - more mailing lists