aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorAvi Kivity <[email protected]>2018-06-08 19:12:32 +0000
committerAl Viro <[email protected]>2018-06-15 00:07:38 +0000
commit4d572d9f46507be8cfe326aa5bc3698babcbdfa7 (patch)
treedc24bf35b539ea641b700344820c84462751bfd7 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentaio: mark __aio_sigset::sigmask const (diff)
downloadkernel-4d572d9f46507be8cfe326aa5bc3698babcbdfa7.tar.gz
kernel-4d572d9f46507be8cfe326aa5bc3698babcbdfa7.zip
eventfd: only return events requested in poll_mask()
The ->poll_mask() operation has a mask of events that the caller is interested in, but we're returning all events regardless. Change to return only the events the caller is interested in. This fixes aio IO_CMD_POLL returning immediately when called with POLLIN on an eventfd, since an eventfd is almost always ready for a write. Signed-off-by: Avi Kivity <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions