]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Use cpu/possible instead of cpu/kernel_max
authorDon Zickus <dzickus@redhat.com>
Mon, 7 Apr 2014 18:55:22 +0000 (14:55 -0400)
committerJiri Olsa <jolsa@redhat.com>
Tue, 22 Apr 2014 15:39:16 +0000 (17:39 +0200)
commit37d63c0fb6b84ca820ef09621bbe051717ad81c6
treedc1749ebc06889cf3bb031104d75a78ecb69e3c8
parentf635d44578c3705c78ae5da18e022847b64d0fb7
perf tools: Use cpu/possible instead of cpu/kernel_max

The system's max configuration is represented by cpu/possible and
cpu/kernel_max can be huge (4096 vs. 128), so save space by keeping
smaller structures.

Signed-off-by: Don Zickus <dzickus@redhat.com>
Reviewed-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1396896924-129847-3-git-send-email-dzickus@redhat.com
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
tools/perf/util/cpumap.c