diff options
author | Jiri Olsa <[email protected]> | 2014-10-01 18:00:27 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-10-03 09:39:47 -0300 |
commit | fe636adda6caff6022e61b37202495dbf68e1410 (patch) | |
tree | 0361e775a2da0d4a155efe7e1e2a0cdb519c70b5 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | cc6cd47e7395bc05c5077009808b820633eb3f18 (diff) |
perf kvm stat live: Fix perf_evlist__add_pollfd error handling
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.
We need to change this function's error check condition.
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