OSDN Git Service

perf cpumap: Maintain cpumaps ordered and without dups
authorAndi Kleen <ak@linux.intel.com>
Thu, 21 Nov 2019 00:15:13 +0000 (16:15 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 29 Nov 2019 15:20:45 +0000 (12:20 -0300)
commit7074674e7338863e6404909c9761d4d3a610a379
treedc655a2d2eca2c1501d6f590d9b1d8485ff18701
parente680a41fcaf07ccac8817c589fc4824988b48eac
perf cpumap: Maintain cpumaps ordered and without dups

Enforce this in _trim()

Needed for followon change.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lore.kernel.org/lkml/20191121001522.180827-4-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/lib/cpumap.c