diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2014-08-18 20:25:59 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-09-25 19:46:55 +0000 |
| commit | f66a889dbc96dd342c87232d74f0956076707746 (patch) | |
| tree | e56930da92ec4753c15c2d572d4c87db935d2d41 /tools/lib/api/fd/array.c | |
| parent | perf kvm stat live: Use perf_evlist__add_pollfd() instead of local equivalent (diff) | |
| download | kernel-f66a889dbc96dd342c87232d74f0956076707746.tar.gz kernel-f66a889dbc96dd342c87232d74f0956076707746.zip | |
perf evlist: Introduce poll method for common code idiom
Since we have access two evlist members in all these poll calls, provide
a helper.
This will also help to make the patch introducing the pollfd class more
clear, as the evlist specific uses will be hiden away
perf_evlist__poll().
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
