Skip to content

perf evsel: Always preserve errno while cleaning up perf_event_open failures

Andi Kleen lkml 2 versions Applied

Status from this message: The following commit has been merged into the perf/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 14 repliesApplied
  2. v19 patches 0 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/9perf evsel: Always preserve errno while cleaning up perf_event_open failurestools/perf/util/evsel.c+4 -21 reply
2/9perf evsel: Avoid close(-1)tools/perf/lib/evsel.c tools/perf/util/evsel.c+4 -21 reply
3/9perf pmu: Use file system cache to optimize sysfs accesstools/perf/util/Build tools/perf/util/fncache.c tools/perf/util/fncache.h +2 more+95 -281 reply
4/9perf affinity: Add infrastructure to save/restore affinitytools/perf/util/Build tools/perf/util/affinity.c tools/perf/util/affinity.h+87 -09 replies
5/9perf evsel: Add iterator to iterate over events ordered by CPUtools/perf/util/evlist.c tools/perf/util/evlist.h tools/perf/util/evsel.h+38 -00 replies
6/9perf stat: Use affinity for closing file descriptorstools/perf/lib/evsel.c tools/perf/lib/include/perf/evsel.h tools/perf/util/evlist.c +1 more+52 -80 replies
7/9perf stat: Use affinity for opening eventstools/perf/builtin-record.c tools/perf/builtin-stat.c tools/perf/tests/event-times.c +6 more+182 -600 replies
8/9perf stat: Use affinity for readingtools/perf/builtin-stat.c tools/perf/util/evsel.h+57 -410 replies
9/9perf stat: Use affinity for enabling/disabling eventstools/perf/lib/evsel.c tools/perf/lib/include/perf/evsel.h tools/perf/util/evlist.c +2 more+98 -182 replies

Reviews trailers per patch

2 of 9 patches have a Reviewed-by or Acked-by.

PatchJiri Olsa
1/9A-b
2/9A-b
3/9
4/9
5/9
6/9
7/9
8/9
9/9

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

Read the v2 thread