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

From: Ingo Molnar
Date: Fri Jul 01 2016 - 02:43:25 EST



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

> Hi Ingo,
>
> Please consider pulling,
>
> - Arnaldo
>
> The following changes since commit d905768c9e1addfa35d9731dbaa9242e8991f6ac:
>
> Merge tag 'perf-core-for-mingo-20160628' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2016-06-29 11:34:41 +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-20160630
>
> for you to fetch changes up to a24020e6b7cf6eb8b75d8bca6b89870b1cee6ba7:
>
> perf tools: Change cpu_map__fprintf output (2016-06-30 18:27:45 -0300)
>
> ----------------------------------------------------------------
> perf/core improvements and fixes:
>
> New features:
>
> - Allow running 'perf test' entries in the same process, not forking to
> test each testcase, useful for debugging (Jiri Olsa)
>
> - Show number of samples in the stdio annotate header (Peter Zijlstra)
>
> Documentation:
>
> - Add documentation for perf.data on disk format (Andi Kleen)
>
> Build fixes:
>
> - Fix 'perf trace' build on old systems wrt missing SCHED_RESET_ON_FORK and
> eventfd.h (Arnaldo Carvalho de Melo)
>
> Infrastructure:
>
> - Utility function to fetch arch from evsel/evlist (Ravi Bangoria)
>
> Trivial:
>
> - Fix spelling mistake: "missmatch" -> "mismatch" in libbpf (Colin Ian King)
>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>
> ----------------------------------------------------------------
> Andi Kleen (1):
> perf tools: Add documentation for perf.data on disk format
>
> Arnaldo Carvalho de Melo (2):
> perf trace beauty sched_policy: Define SCHED_RESET_ON_FORK for older systems
> perf trace beauty eventfd: No need to include eventfd.h
>
> Colin Ian King (1):
> tools lib bpf: Fix spelling mistake: "missmatch" -> "mismatch"
>
> Jiri Olsa (4):
> perf tools: Allow to reset open files counter
> perf tests: Fix thread map test for -F option
> perf test: Add -F/--dont-fork option
> perf tools: Change cpu_map__fprintf output
>
> Peter Zijlstra (Intel) (2):
> perf annotate: Simplify header dotted line sizing
> perf annotate: Add number of samples to the header
>
> Ravi Bangoria (1):
> perf evsel: Utility function to fetch arch
>
> tools/lib/bpf/libbpf.c | 2 +-
> tools/lib/bpf/libbpf.h | 2 +-
> tools/perf/Documentation/perf-test.txt | 4 +
> tools/perf/Documentation/perf.data-file-format.txt | 442 +++++++++++++++++++++
> tools/perf/tests/builtin-test.c | 59 ++-
> tools/perf/tests/cpumap.c | 24 ++
> tools/perf/tests/dso-data.c | 6 +
> tools/perf/tests/tests.h | 1 +
> tools/perf/tests/thread-map.c | 16 +-
> tools/perf/trace/beauty/eventfd.c | 2 -
> tools/perf/trace/beauty/sched_policy.c | 3 +
> tools/perf/util/annotate.c | 12 +-
> tools/perf/util/cpumap.c | 54 ++-
> tools/perf/util/cpumap.h | 1 +
> tools/perf/util/dso.c | 22 +-
> tools/perf/util/dso.h | 2 +
> tools/perf/util/event.c | 2 +-
> tools/perf/util/evsel.c | 7 +
> tools/perf/util/evsel.h | 2 +
> 19 files changed, 614 insertions(+), 49 deletions(-)
> create mode 100644 tools/perf/Documentation/perf.data-file-format.txt

Pulled, thanks a lot Arnaldo!

Btw., the build started generating:

Warning: x86_64's syscall_64.tbl differs from kernel

Due to:

triton:~/tip> diff -up ./arch/x86/entry/syscalls/syscall_64.tbl
./tools/perf/arch/x86/entry/syscalls/syscall_64.tbl
--- ./arch/x86/entry/syscalls/syscall_64.tbl 2016-06-30 08:33:35.272016286
+0200
+++ ./tools/perf/arch/x86/entry/syscalls/syscall_64.tbl 2016-06-30
08:33:36.596018485 +0200
@@ -374,5 +374,3 @@
543 x32 io_setup compat_sys_io_setup
544 x32 io_submit compat_sys_io_submit
545 x32 execveat compat_sys_execveat/ptregs
-534 x32 preadv2 compat_sys_preadv2
-535 x32 pwritev2 compat_sys_pwritev2

Ingo