OSDN Git Service

perf stat: Use xyarray dimensions to iterate fds
authorAndi Kleen <ak@linux.intel.com>
Fri, 6 Oct 2017 02:00:28 +0000 (19:00 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Feb 2018 14:36:57 +0000 (11:36 -0300)
commit42811d509d6e0b0118918ce6be346be54d8e8801
tree7e274cb78b366ac4c7009498a61662eeddf995ef
parentde7112868829b3286def38297848d5d2592b4a70
perf stat: Use xyarray dimensions to iterate fds

Now that the xyarray stores the dimensions we can use those
to iterate over the FDs for a evsel.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20171006020029.13339-1-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c