perf: Fix uninitialized core_set bug
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 19 Oct 2017 15:41:36 +0000 (11:41 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 26 Oct 2017 17:06:54 +0000 (13:06 -0400)
commit3fc0551396d5a78e3703f8f5d0b5b8023f33c8f1
tree80fb0e753d4cee65041c1fd91b6795099ffb47af
parenta4b5db6c46fd417d87110689087f0f03b3aae8a1
perf: Fix uninitialized core_set bug

Depending on your machine, some bits in the core_set could be set already,
which would be treated as low-latency cores, and thus we wouldn't provision
them to the process.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
tools/dev-util/perf/akaros.c
tools/dev-util/perf/akaros.h