Re: [PATCH v12 01/15] tools/libperf: avoid internal moving of fdarray fds

2020-07-21 Thread Arnaldo Carvalho de Melo
Em Fri, Jul 17, 2020 at 09:59:12AM +0300, Alexey Budankov escreveu: > > Avoid moving of fds by fdarray__filter() so fds indices returned > by fdarray__add() can be used for access and processing of > objects at struct pollfd *entries. Thanks, applied. - Arnaldo > Signed-off-by: Alexey

[PATCH v12 01/15] tools/libperf: avoid internal moving of fdarray fds

2020-07-17 Thread Alexey Budankov
Avoid moving of fds by fdarray__filter() so fds indices returned by fdarray__add() can be used for access and processing of objects at struct pollfd *entries. Signed-off-by: Alexey Budankov Acked-by: Jiri Olsa Acked-by: Namhyung Kim --- tools/lib/api/fd/array.c | 11 +--