Re: [GIT PULL 00/19] perf/urgent fixes for 4.18

From: Ingo Molnar
Date: Tue Jun 26 2018 - 02:46:44 EST



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

> Hi Ingo,
>
> Please consider pulling,
>
> - Arnaldo
>
> Test results at the end of this message, as usual.
>
> The following changes since commit 57d6a7938a8fc6cee8420b40ca244220b41721f5:
>
> perf/core: Move the inline keyword at the beginning of the function declaration (2018-06-22 11:07:47 +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-4.18-20180625
>
> for you to fetch changes up to 92ead7ee30c80f8852d28735cbcb9d79bc85f715:
>
> perf tools: Fix crash caused by accessing feat_ops[HEADER_LAST_FEATURE] (2018-06-25 11:59:37 -0300)
>
> ----------------------------------------------------------------
> perf/urgent fixes:
>
> perf bench: (Jiri Olsa):
>
> . Fix NUMA report output code handling of less than 1s runtimes.
>
> perf script: (Ravi Bangoria)
>
> . Add missing output fields in a 'perf script -h' hint.
>
> . Fix crash because of missing evsel->priv.
>
> . Fix crash caused by accessing feat_ops[HEADER_LAST_FEATURE], which
> is just a end of features header marker.
>
> perf stat: (Thomas Richter)
>
> . Remove duplicate event counting
>
> perf test:
>
> . Wire parsing error handling in 'parse events' test (Jiri Olsa)
>
> . Fix 'session topology' test on s/390 (Thomas Richter)
>
> eBPF: (Yonghong Song)
>
> . Fix a clang 7.0 compilation error when building perf linking
> with libclang
>
> intel-pt: (Adrian Hunter)
>
> . Fix packet decoding of CYC packets.
>
> Copies of kernel files: (Arnaldo Carvalho de Melo)
>
> . Synchronize drm/drm.h UAPI
>
> . Update x86's syscall_64.tbl, adding support for 'io_pgetevents' and 'rseq'
> in 'perf trace'.
>
> . Update powerpc uapi/asm/unistd.h, adding support for the 'rseq' syscall.
>
> . Update if_link.h and bpf.h, no effect on tool features.
>
> PowerPC: (Sandipan Das)
>
> . Fix crash if callchain is empty.
>
> s/390: (Thomas Richter)
>
> . Support random socked_id assignment in the perf header.
>
> . Support s390 random socket_id assignment in perf.data file.
>
> . Make PMU alias definitions taken from sysfs and JSON files comparable
> by normalizing them wrt spaces and newlines.
>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>
> ----------------------------------------------------------------
> Adrian Hunter (1):
> perf intel-pt: Fix packet decoding of CYC packets
>
> Arnaldo Carvalho de Melo (5):
> tools headers uapi: Synchronize drm/drm.h
> perf tools: Update x86's syscall_64.tbl, adding 'io_pgetevents' and 'rseq'
> tools include powerpc: Update arch/powerpc/include/uapi/asm/unistd.h copy to get 'rseq' syscall
> tools include uapi: Update if_link.h to pick IFLA_{BRPORT_ISOLATED,VXLAN_TTL_INHERIT}
> tools include uapi: Synchronize bpf.h with the kernel
>
> Jiri Olsa (3):
> perf tests: Add event parsing error handling to parse events test
> perf tests: Add valid callback for parse-events test
> perf bench: Fix numa report output code
>
> Ravi Bangoria (3):
> perf script: Add missing output fields in a hint
> perf script: Fix crash because of missing evsel->priv
> perf tools: Fix crash caused by accessing feat_ops[HEADER_LAST_FEATURE]
>
> Sandipan Das (1):
> perf report powerpc: Fix crash if callchain is empty
>
> Thomas Richter (5):
> perf record: Support s390 random socket_id assignment
> perf test session topology: Fix test on s390
> perf alias: Remove trailing newline when reading sysfs files
> perf alias: Rebuild alias expression string to make it comparable
> perf stat: Remove duplicate event counting
>
> Yonghong Song (1):
> perf tools: Fix a clang 7.0 compilation error
>
> tools/arch/powerpc/include/uapi/asm/unistd.h | 1 +
> tools/include/uapi/drm/drm.h | 7 ++
> tools/include/uapi/linux/bpf.h | 2 +-
> tools/include/uapi/linux/if_link.h | 2 +
> tools/perf/arch/powerpc/util/skip-callchain-idx.c | 2 +-
> tools/perf/arch/x86/entry/syscalls/syscall_64.tbl | 2 +
> tools/perf/bench/numa.c | 5 +-
> tools/perf/builtin-annotate.c | 11 ++-
> tools/perf/builtin-report.c | 3 +-
> tools/perf/builtin-script.c | 30 ++++++-
> tools/perf/tests/parse-events.c | 25 ++++--
> tools/perf/tests/topology.c | 1 +
> tools/perf/util/c++/clang.cpp | 11 ++-
> tools/perf/util/header.c | 12 ++-
> .../util/intel-pt-decoder/intel-pt-pkt-decoder.c | 2 +-
> tools/perf/util/pmu.c | 99 +++++++++++++++++++++-
> 16 files changed, 194 insertions(+), 21 deletions(-)

Pulled, thanks a lot Arnaldo!

Note that I've applied the trivial header sync patch below on top of it to reduce
the number of build time warnings.

There's one warning left:

Warning: Kernel ABI header at 'tools/arch/x86/lib/memcpy_64.S' differs from latest version at 'arch/x86/lib/memcpy_64.S'

Which is a bit more involved as it requires the introduction of x86/asm/mcsafe_test.h
on the tooling side.

Thanks,

Ingo

======================>