diff options
author | Jiri Olsa <[email protected]> | 2014-10-01 18:00:28 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-10-03 09:39:48 -0300 |
commit | 0cae013cf4450ea0ecb62241a2f3e7565db09f93 (patch) | |
tree | dd8ab570cc4d1face81762c9b15676d67979b06d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | fe636adda6caff6022e61b37202495dbf68e1410 (diff) |
perf kvm stat live: Use perf_evlist__add_pollfd return fd position
With the interface changed in following commit:
2171a9256862 tools lib fd array: Allow associating an integer cookie with each entry
the perf_evlist__add_pollfd function now returns the fd position in the
pollfd array.
Hence we no longer need to count the fd position, because we get it as
the return value.
Signed-off-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: Milian Wolff <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[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