perf kvm stat live: Use fdarray object instead of pollfd
authorJiri Olsa <jolsa@kernel.org>
Wed, 1 Oct 2014 16:00:29 +0000 (18:00 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 3 Oct 2014 12:39:48 +0000 (09:39 -0300)
commit1ca72260e471a8b03f03fe9a6547deb088710042
tree5bdcb4f5026ae814071d661611d33dbafeaa1131
parent0cae013cf4450ea0ecb62241a2f3e7565db09f93
perf kvm stat live: Use fdarray object instead of pollfd

The reason is that we don't need to count the number of file descriptors
because it's already handled in fdarray object.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Milian Wolff <mail@milianw.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1412179229-19466-5-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-kvm.c