aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2014-10-01 16:00:27 +0000
committerArnaldo Carvalho de Melo <[email protected]>2014-10-03 12:39:47 +0000
commitfe636adda6caff6022e61b37202495dbf68e1410 (patch)
tree0361e775a2da0d4a155efe7e1e2a0cdb519c70b5 /tools/perf/util/scripting-engines/trace-event-python.c
parentperf/x86: Tone down kernel messages when the PMU check fails in a virtual env... (diff)
downloadkernel-fe636adda6caff6022e61b37202495dbf68e1410.tar.gz
kernel-fe636adda6caff6022e61b37202495dbf68e1410.zip
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