From: Arnaldo Carvalho de Melo Date: Mon, 18 Aug 2014 20:12:30 +0000 (-0300) Subject: perf kvm stat live: Use perf_evlist__add_pollfd() instead of local equivalent X-Git-Tag: fixes-against-v3.18-rc2~100^2~4^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a04c9e0b2181aff8348b5e80d9d96ec8df1ffb3;p=pandora-kernel.git perf kvm stat live: Use perf_evlist__add_pollfd() instead of local equivalent Since we can add file descriptors to the evlist pollfd and it will autogrow, no need to copy all events to a local pollfd array, just add the timer and stdin file descriptors. Reviewed-by: David Ahern Acked-by: Jiri Olsa Cc: Adrian Hunter Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Jiri Olsa Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/n/tip-2hvp9iromiheh6rl4oaa08x5@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed