diff options
author | Luc Van Oostenryck <[email protected]> | 2019-11-20 01:10:42 +0100 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2019-11-24 16:58:44 -0800 |
commit | 5d946c5abbaf68083fa6a41824dd79e1f06286d8 (patch) | |
tree | 2f5e4665fa092b4d88216e7806aa592f11446c6d /tools/perf/scripts/python/stackcollapse.py | |
parent | c392bccf2c1075b5d2cc9022d0116a516acb721d (diff) |
xsk: Fix xsk_poll()'s return type
xsk_poll() is defined as returning 'unsigned int' but the
.poll method is declared as returning '__poll_t', a bitwise type.
Fix this by using the proper return type and using the EPOLL
constants instead of the POLL ones, as required for __poll_t.
Signed-off-by: Luc Van Oostenryck <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Björn Töpel <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions