Re: [GIT PULL 00/11] perf/urgent fixes

From: Ingo Molnar
Date: Tue Aug 09 2016 - 15:13:01 EST



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

> Hi Ingo,
>
> Please consider pulling,
>
> - Arnaldo
>
> Build test stats:
>
> [root@jouet ~]# time dm
> 1: alpine:3.4: Ok
> 2: android-ndk:r12b: Ok
> 3: archlinux:latest: Ok
> 4: centos:5: Ok
> 5: centos:6: Ok
> 6: centos:7: Ok
> 7: debian:7: Ok
> 8: debian:8: Ok
> 9: debian:experimental: Ok
> 10: fedora:20: Ok
> 11: fedora:21: Ok
> 12: fedora:22: Ok
> 13: fedora:23: Ok
> 14: fedora:24: Ok
> 15: fedora:rawhide: Ok
> 16: mageia:5: Ok
> 17: opensuse:13.2: Ok
> 18: opensuse:42.1: Ok
> 19: ubuntu:14.04.4: Ok
> 20: ubuntu:15.10: Ok
> 21: ubuntu:16.04: Ok
> 22: ubuntu:16.04-x-arm64: Ok
> 23: ubuntu:16.04-x-armhf: Ok
> 24: ubuntu:16.04-x-powerpc64: Ok
> 25: ubuntu:16.04-x-powerpc64el: Ok
> 26: ubuntu:16.04-x-s390: Ok
>
> real 16m44.470s
>
> The following changes since commit f282f7a0ecc3e0b8fd8532a6c3e9401534cb907c:
>
> Merge tag 'perf-core-for-mingo-20160803' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent (2016-08-04 11:02:38 +0200)
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo-20160809
>
> for you to fetch changes up to 99e608b5954c9e1ebadbf9660b74697d9dfd9f20:
>
> perf probe ppc64le: Fix probe location when using DWARF (2016-08-09 12:14:29 -0300)
>
> ----------------------------------------------------------------
> perf/urgent fixes:
>
> User visible fixes:
>
> - Fix the lookup for a kernel module in 'perf probe', fixing for instance, the
> erroneous return of "[raid10]" when looking for "[raid1]" (Konstantin Khlebnikov)
>
> - Disable counters in a group before reading them in 'perf stat', to avoid skew (Mark Rutland)
>
> - Fix adding probes to function aliases in systems using kaslr (Masami Hiramatsu)
>
> - Trip libtraceevent trace_seq buffers, removing unnecessary memory usage that could
> bring a system using tracepoint events with 'perf top' to a crawl, as the trace_seq
> buffers start at a whooping 4 KB, which is very rarely used in perf's usecases,
> so realloc it to the really used space as a last measure after using libtraceevent
> functions to format the fields of tracepoint events (Arnaldo Carvalho de Melo)
>
> - Fix 'perf probe' location when using DWARF on ppc64le (Ravi Bangoria)
>
> Improvement:
>
> - Allow specifying signedness casts to a 'perf probe' variable, to shorten
> the number of steps to see signed values that otherwise would always appear
> as hex values (Naohiro Aota)
>
> Documentation fixes:
>
> - Add 'bpf-output' field to 'perf script' usage message (Brendan Gregg)
>
> Infrastructure fixes:
>
> - Sync kernel header files: cpufeatures.h, {disabled,required}-features.h,
> bpf.h and vmx.h, so that we get a clean build, without warnings about files
> being different from the kernel counterparts.
>
> A verification of the need or desirability of changes in tools/ based on what
> was done in the kernel changesets was made and documented in the respective
> file sync changesets (Arnaldo Carvalho de Melo)
>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>
> ----------------------------------------------------------------
> Arnaldo Carvalho de Melo (4):
> perf hists: Trim libtraceevent trace_seq buffers
> tools: Sync cpufeatures.h and vmx.h with the kernel
> toops: Sync tools/include/uapi/linux/bpf.h with the kernel
> tools: Sync cpufeatures headers with the kernel
>
> Brendan Gregg (1):
> perf script: Add 'bpf-output' field to usage message
>
> Konstantin Khlebnikov (1):
> perf probe: Fix module name matching
>
> Mark Rutland (1):
> perf stat: Avoid skew when reading events
>
> Masami Hiramatsu (1):
> perf probe: Adjust map->reloc offset when finding kernel symbol from map
>
> Naohiro Aota (1):
> perf probe: Support signedness casting
>
> Ravi Bangoria (2):
> perf probe: Add function to post process kernel trace events
> perf probe ppc64le: Fix probe location when using DWARF
>
> tools/arch/x86/include/asm/cpufeatures.h | 9 +--
> tools/arch/x86/include/asm/disabled-features.h | 2 +
> tools/arch/x86/include/asm/required-features.h | 2 +
> tools/arch/x86/include/uapi/asm/vmx.h | 4 +-
> tools/include/uapi/linux/bpf.h | 86 +++++++++++++++++++++++++-
> tools/perf/Documentation/perf-probe.txt | 10 ++-
> tools/perf/Documentation/perf-script.txt | 4 +-
> tools/perf/arch/powerpc/util/sym-handling.c | 27 ++++++--
> tools/perf/builtin-script.c | 2 +-
> tools/perf/builtin-stat.c | 31 +++++++---
> tools/perf/util/probe-event.c | 60 +++++++++++-------
> tools/perf/util/probe-event.h | 6 +-
> tools/perf/util/probe-finder.c | 15 ++++-
> tools/perf/util/sort.c | 6 +-
> 14 files changed, 210 insertions(+), 54 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo