Skip to content

perf evlist: Introduce perf_evlist__filter_pollfd method

Arnaldo Carvalho de Melo lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14perf evlist: Introduce perf_evlist__filter_pollfd methodtools/perf/util/evlist.c tools/perf/util/evlist.h+23 -00 replies
2/14perf tests: Add test for perf_evlist__filter_pollfd()tools/perf/Makefile.perf tools/perf/tests/builtin-test.c tools/perf/tests/evlist.c +1 more+109 -00 replies
3/14perf evlist: Monitor POLLERR and POLLHUP events tootools/perf/util/evlist.c+1 -10 replies
4/14perf evlist: We need to poll all event file descriptorstools/perf/util/evlist.c+2 -20 replies
5/14perf evlist: Allow growing pollfd on add methodtools/perf/util/evlist.c tools/perf/util/evlist.h+36 -70 replies
6/14perf tests: Add pollfd growing testtools/perf/tests/builtin-test.c tools/perf/tests/evlist.c tools/perf/tests/tests.h+116 -00 replies
7/14perf kvm stat live: Use perf_evlist__add_pollfd() instead of local equivalenttools/perf/builtin-kvm.c+9 -130 replies
8/14perf evlist: Introduce poll method for common code idiomtools/perf/builtin-record.c tools/perf/builtin-top.c tools/perf/builtin-trace.c +6 more+15 -80 replies
9/14tools lib api: Adopt fdarray class from perf's evlisttools/lib/api/Makefile tools/lib/api/fd/array.c tools/lib/api/fd/array.h +9 more+342 -2780 replies
10/14perf evlist: Refcount mmapstools/perf/util/evlist.c tools/perf/util/evlist.h+51 -20 replies
11/14tools lib fd array: Allow associating an integer cookie with each entrytools/lib/api/fd/array.c tools/lib/api/fd/array.h tools/perf/tests/fdarray.c +1 more+44 -100 replies
12/14perf evlist: Unmap when all refcounts to fd are gone and events drainedtools/perf/util/evlist.c+29 -60 replies
13/14perf record: Filter out POLLHUP'ed file descriptorstools/perf/builtin-record.c+5 -20 replies
14/14perf trace: Filter out POLLHUP'ed file descriptorstools/perf/builtin-trace.c+6 -10 replies

Reviews trailers per patch

6 of 14 patches have a Reviewed-by or Acked-by.

PatchJiri OlsaDavid Ahern
1/14A-b
2/14A-b
3/14A-b
4/14
5/14
6/14A-b
7/14A-b R-b
8/14A-b
9/14
10/14
11/14
12/14
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread