summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKyle Meyer <kyle.meyer@hpe.com>2019-06-20 14:36:30 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-26 09:14:12 +0200
commit1182ff2248474066039a2be42e6c1a4985d5562d (patch)
treece6c1f8348e591de6f715ca550c270903197b1e1 /Makefile
parent7201cc227d4a6314392368d0fb9140696dc7b6bb (diff)
downloadlinux-stable-1182ff2248474066039a2be42e6c1a4985d5562d.tar.gz
linux-stable-1182ff2248474066039a2be42e6c1a4985d5562d.tar.bz2
linux-stable-1182ff2248474066039a2be42e6c1a4985d5562d.zip
perf tools: Increase MAX_NR_CPUS and MAX_CACHES
[ Upstream commit 9f94c7f947e919c343b30f080285af53d0fa9902 ] Attempting to profile 1024 or more CPUs with perf causes two errors: perf record -a [ perf record: Woken up X times to write data ] way too many cpu caches.. [ perf record: Captured and wrote X MB perf.data (X samples) ] perf report -C 1024 Error: failed to set cpu bitmap Requested CPU 1024 too large. Consider raising MAX_NR_CPUS Increasing MAX_NR_CPUS from 1024 to 2048 and redefining MAX_CACHES as MAX_NR_CPUS * 4 returns normal functionality to perf: perf record -a [ perf record: Woken up X times to write data ] [ perf record: Captured and wrote X MB perf.data (X samples) ] perf report -C 1024 ... Signed-off-by: Kyle Meyer <kyle.meyer@hpe.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20190620193630.154025-1-meyerk@stormcage.eag.rdlabs.hpecorp.net Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions