Re: [GIT PULL 00/24] perf/core improvements and fixes

From: Ingo Molnar
Date: Sat Jul 16 2016 - 16:39:42 EST



* Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote:

> Hi Ingo,
>
> Please consider pulling,
>
> Test results, with a new target: cross-compiling to Android ARM API 24 (NDK r12b),
> for all except android-ndk:r12b now objtool is tested too, in adition to tools/perf.
>
> [root@jouet ~]# dm
> alpine:3.4: Ok
> android-ndk:r12b: Ok
> centos:5: Ok
> centos:6: Ok
> centos:7: Ok
> debian:7: Ok
> debian:8: Ok
> debian:experimental: Ok
> fedora:21: Ok
> fedora:22: Ok
> fedora:23: Ok
> fedora:24: Ok
> fedora:rawhide: Ok
> opensuse:13.2: Ok
> opensuse:42.1: Ok
> ubuntu:14.04.4: Ok
> ubuntu:15.10: Ok
> ubuntu:16.04: Ok
> [root@jouet ~]#
>
> oops, the mageia image din't got rebuilt, will fix that, pretty good coverage
> even so :-)
>
> - Arnaldo
>
> The following changes since commit b29c6574699dc475da5dbff8db19297b203aacce:
>
> Merge tag 'perf-core-for-mingo-20160713' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2016-07-14 08:54:13 +0200)
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-20160715
>
> for you to fetch changes up to b49364f36cfdb6d540ac961102d7ffaf84279bb6:
>
> objtool: Initialize variable to silence old compiler (2016-07-15 17:32:52 -0300)
>
> ----------------------------------------------------------------
> perf/core improvements and fixes:
>
> User visible:
>
> - Allow reading from a backward ring buffer (one setup via sys_perf_event_open
> with perf_event_attr.write_backward = 1) (Wang Nan)
>
> Infrastructure:
>
> - Fix the build on Android NDK r12b (initially just for arm), that is now port
> of my perf-build container collection and will get tested prior to sending
> patches upstream (Arnaldo Carvalho de Melo)
>
> - Add correct header for ipv6 defini
>
> - Fix bitsperlong.h fallout (Arnaldo Carvalho de Melo, Peter Zijlstra)
>
> - Use base 0 (auto) in filename__read_ull, so that we can handle hex values too (Jiri Olsa)
>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>
> ----------------------------------------------------------------
> Arnaldo Carvalho de Melo (8):
> tools lib traceevent: Add correct header for ipv6 definitions
> perf tools: Do not provide dup sched_getcpu() prototype on Android
> tools: Make "__always_inline" just "inline" on Android
> perf tools: Just pr_debug() about not being able to read cacheline_size
> perf tools: Bail out at "--sort dcacheline" and cacheline_size not known
> perf evlist: Drop redundant evsel->overwrite indicator
> objtool: Add -I$(srctree)/tools/arch/$(ARCH)/include/uapi
> objtool: Initialize variable to silence old compiler
>
> Jiri Olsa (1):
> tools lib api fs: Use base 0 in filename__read_ull
>
> Peter Zijlstra (1):
> tools: Simplify BITS_PER_LONG define
>
> Wang Nan (14):
> tools lib fd array: Allow associating a pointer cookie with each entry
> perf evlist: Update mmap related APIs and helpers
> perf record: Decouple record__mmap_read() and evlist.
> perf evlist: Record mmap cookie into fdarray private field
> perf evlist: Extract common code in mmap failure processing
> perf evlist: Introduce backward_mmap array for evlist
> perf evlist: Map backward events to backward_mmap
> perf evlist: Drop evlist->backward
> perf evlist: Setup backward mmap state machine
> perf record: Read from overwritable ring buffer
> perf evlist: Make {pause,resume} internal helpers
> perf tools: Enable overwrite settings
> perf session: Don't warn about out of order event if write_backward is used
> perf record: Add --tail-synthesize option
>
> tools/include/asm-generic/bitsperlong.h | 23 +--
> tools/include/linux/compiler.h | 11 ++
> tools/lib/api/fd/array.h | 1 +
> tools/lib/api/fs/fs.c | 7 +-
> tools/lib/traceevent/event-parse.c | 3 +-
> tools/objtool/Makefile | 2 +-
> tools/objtool/builtin-check.c | 2 +-
> tools/perf/Documentation/perf-record.txt | 22 +++
> tools/perf/builtin-record.c | 113 ++++++++++---
> tools/perf/perf.c | 2 +-
> tools/perf/perf.h | 2 +
> tools/perf/tests/backward-ring-buffer.c | 14 +-
> tools/perf/util/evlist.c | 269 ++++++++++++++++++++++---------
> tools/perf/util/evlist.h | 47 +++++-
> tools/perf/util/evsel.c | 16 +-
> tools/perf/util/evsel.h | 3 +-
> tools/perf/util/parse-events.c | 20 ++-
> tools/perf/util/parse-events.h | 2 +
> tools/perf/util/parse-events.l | 2 +
> tools/perf/util/session.c | 22 ++-
> tools/perf/util/sort.c | 8 +-
> tools/perf/util/util.h | 2 +-
> 22 files changed, 441 insertions(+), 152 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo