diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2014-08-18 20:12:30 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-09-25 19:46:54 +0000 |
| commit | 0a04c9e0b2181aff8348b5e80d9d96ec8df1ffb3 (patch) | |
| tree | 285bce0f10494c9a081f5bf16995968e89fc4242 /tools/lib/api/fd/array.c | |
| parent | perf tests: Add pollfd growing test (diff) | |
| download | kernel-0a04c9e0b2181aff8348b5e80d9d96ec8df1ffb3.tar.gz kernel-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 <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jean Pihet <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/api/fd/array.c')
0 files changed, 0 insertions, 0 deletions
