diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2014-08-18 17:12:30 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-09-25 16:46:54 -0300 |
commit | 0a04c9e0b2181aff8348b5e80d9d96ec8df1ffb3 (patch) | |
tree | 285bce0f10494c9a081f5bf16995968e89fc4242 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 9ae28035b8677b82e1d71cea4f793cb5504ec104 (diff) |
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/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions