aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2014-08-18 17:12:30 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-09-25 16:46:54 -0300
commit0a04c9e0b2181aff8348b5e80d9d96ec8df1ffb3 (patch)
tree285bce0f10494c9a081f5bf16995968e89fc4242 /tools/perf/tests
parentperf tests: Add pollfd growing test (diff)
downloadlinux-dev-0a04c9e0b2181aff8348b5e80d9d96ec8df1ffb3.tar.xz
linux-dev-0a04c9e0b2181aff8348b5e80d9d96ec8df1ffb3.zip
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 <dsahern@gmail.com> Acked-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: Jean Pihet <jean.pihet@linaro.org> Cc: Jiri Olsa <jolsa@kernel.org> 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/n/tip-2hvp9iromiheh6rl4oaa08x5@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests')
0 files changed, 0 insertions, 0 deletions