]> git.baikalelectronics.ru Git - kernel.git/commit
perf test bpf: Use epoll_wait() instead of epoll_pwait()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Jul 2016 02:22:30 +0000 (23:22 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Jul 2016 18:20:33 +0000 (15:20 -0300)
commiteb8f430884601ab356d0c785c12b2260b9fad15e
tree212e2a4313698e67d33a8f623ccbbc143c645c58
parent2061f07d62693e24eb641bd684d8a1a8e3d34f5e
perf test bpf: Use epoll_wait() instead of epoll_pwait()

The prototype for epoll_wait() is available in older distros, so use it
instead of epoll_pwait() (removing the last NULL arg, the sigmask,
makes it the same thing anyway) to avoid breaking the build.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-pwiwizloxt0jujy8em80qut3@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/bpf-script-example.c
tools/perf/tests/bpf.c