diff options
author | Jiri Olsa <[email protected]> | 2014-08-13 19:39:56 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-08-24 08:10:55 -0300 |
commit | 61b67684c4a4d04b30d9ed67aa2eadfa0089c590 (patch) | |
tree | 61116c67f3322f95b4ed02b52512771ae1fbf9f1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 06b2afc0b9a26e7673856a24ab57bfb307dad394 (diff) |
perf: Fix perf_poll to return proper POLLHUP value
Currently perf_poll returns POLL_HUP in case of error, which is wrong,
because poll syscall expects POLLHUP. The POLL_HUP is meant to be used
for SIGIO state.
Signed-off-by: Jiri Olsa <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Cc: Adrian Hunter <[email protected]>
Cc: Arnaldo Carvalho de Melo <[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: 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