perf: Use Linux-style parsing of the core list
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 7 Jun 2016 01:40:44 +0000 (21:40 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 16 Jun 2016 16:20:31 +0000 (12:20 -0400)
commita79da103d72be3aaf6c9aa2073d0df71bae6f43c
tree8b17c77539dab8a3f401aa42a4c372236300b785
parentda9e4d0e2cdc877faeb46ebef6b60fcfe779cf77
perf: Use Linux-style parsing of the core list

-C x,y,i-j,z

No need for the LL cores, the negation, or the all cores.  We do all
cores by default.

This also checks with the kernel to find out how many cores there are
total, instead of allowing people to set for cores that do not exist.
We'll see if that's a bad idea or not.

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